BinaryAnnotationMappingStorage { public Map<String, BinaryAnnotationMapping> getKeyBasedMappings() { return keyBasedMappings; } BinaryAnnotationMappingStorage();  BinaryAnnotationMappingStorage(String file); Map<String, BinaryAnnotationMapping> getKeyBasedMappings();  }
@Test public void testJBossDir() { BinaryAnnotationMappingStorage baStorage = new BinaryAnnotationMappingStorage(); Assert.assertEquals(1, baStorage.getKeyBasedMappings().size()); Assert.assertEquals(new HashSet<>(Arrays.asList("foo")), baStorage.getKeyBasedMappings().keySet()); }