### Question:
AaiConnection { static String getRelatedToProperty(final Relationship relationship, final String propertyKey) { if (relationship != null && relationship.getRelatedToProperty() != null) { for (final RelatedToProperty relatedToProperty : relationship.getRelatedToProperty()) { if (propertyKey.equals(relatedToProperty.getPropertyKey())) { return relatedToProperty.getPropertyValue(); } } } return null; }  List<EsrSystemInfo> receiveVnfm(); String receiveGenericVnfId(final String href); String receiveVserverName(final String genericId);  }### Answer:
@Test public void testRelatedToProperty() { final Relationship relationship = new Relationship(); final RelatedToProperty property = new RelatedToProperty(); property.setPropertyKey(KEY); property.setPropertyValue(VALUE); relationship.getRelatedToProperty().add(property); final String value = AaiConnection.getRelatedToProperty(relationship, KEY); assertEquals(VALUE, value); }