PrincipalPermissionEntries { void putAllEntries(@NotNull Map<String, Collection<PermissionEntry>> allEntries) { entries.putAll(allEntries); setFullyLoaded(true); } PrincipalPermissionEntries();   PrincipalPermissionEntries(long expectedSize);   }
@Test public void testPutAllEntries() { PrincipalPermissionEntries ppe = new PrincipalPermissionEntries(); Map<String, Collection<PermissionEntry>> allEntries = ImmutableMap.of("/path", ImmutableSet.of(permissionEntry)); ppe.putAllEntries(allEntries); assertEquals(allEntries, ppe.getEntries()); }