### Question:
AAIResourcesClient extends
        GraphInventoryResourcesClient<AAIResourcesClient, AAIBaseResourceUri<?, ?>, AAIResourceUri, AAIPluralResourceUri, AAIEdgeLabel, AAIResultWrapper, AAITransactionalClient, AAISingleTransactionClient> { @Override protected Relationship buildRelationship(AAIResourceUri uri) { return super.buildRelationship(uri, Optional.empty()); } AAIResourcesClient();  AAIResourcesClient(AAIVersion version);  AAIResourcesClient(AAIClient client); @Override AAIResultWrapper createWrapper(String json); @Override AAIResultWrapper createWrapper(Object obj); @Override AAITransactionalClient beginTransaction(); @Override AAISingleTransactionClient beginSingleTransaction();  }### Answer:
@Test public void buildRelationshipTest() { AAIResourcesClient client = aaiClient; AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().genericVnf("test")); Relationship relationship = new Relationship(); relationship.setRelatedLink(uri.build().toString()); Relationship actual = client.buildRelationship(uri); assertThat("expect equal no label", actual, sameBeanAs(relationship)); relationship.setRelationshipLabel(AAIEdgeLabel.USES.toString()); actual = client.buildRelationship(uri, AAIEdgeLabel.USES); assertThat("expect equal has label", actual, sameBeanAs(relationship)); }