### Question:
AAICollectionResources { public void updateCollection(Collection collection) { AAIResourceUri networkCollectionURI = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.network().collection(collection.getId())); org.onap.aai.domain.yang.Collection aaiCollection = aaiObjectMapper.mapCollection(collection); injectionHelper.getAaiClient().update(networkCollectionURI, aaiCollection); }  void createCollection(Collection collection); void updateCollection(Collection collection); void deleteCollection(Collection collection);  }### Answer:
@Test public void updateCollectionTest() throws Exception { doReturn(new org.onap.aai.domain.yang.Collection()).when(MOCK_aaiObjectMapper).mapCollection(networkCollection); aaiCollectionResources.updateCollection(networkCollection); verify(MOCK_aaiResourcesClient, times(1)).update( eq(AAIUriFactory .createResourceUri(AAIFluentTypeBuilder.network().collection(networkCollection.getId()))), isA(org.onap.aai.domain.yang.Collection.class)); }