VirtualMetadataPopulator { public void setMap(Map<String, HashMap<String, VirtualMetadataConfiguration>> map) { this.map = map; }  void setMap(Map<String, HashMap<String, VirtualMetadataConfiguration>> map); Map<String, HashMap<String, VirtualMetadataConfiguration>> getMap(); boolean isUseForPlaceTrueForRelationshipType(RelationshipType relationshipType, boolean isLeft);  }
@Test public void testSetMap() { Map<String, HashMap<String, VirtualMetadataConfiguration>> map = new HashMap<>(); HashMap<String, VirtualMetadataConfiguration> mapExt = new HashMap<>(); VirtualMetadataConfiguration virtualMetadataConfiguration = mock(VirtualMetadataConfiguration.class); mapExt.put("hashKey", virtualMetadataConfiguration); map.put("key", mapExt); virtualMetadataPopulator.setMap(map); assertEquals("TestSetMap 0", map, virtualMetadataPopulator.getMap()); }