@Test
public void allowDeleteRelationshipTypeWithoutData()
{

    Mockito.when( relationshipService.getRelationshipsByRelationshipType( Mockito.any() ) ).thenReturn(
        Lists.newArrayList() );
    String res = relationshipDeletionHandler.allowDeleteRelationshipType( relationshipTypeWithData );
    assertNull( res );
}