@Test void testGetPermissions() { assertEquals(of(WRITE, WRITEMETA), permissionRegistry.getPermissions(TestPermission.UPDATE)); }
public Set<PermissionSet> getPermissions(Permission permission) { return mapping.get(permission); }
PermissionRegistry { public Set<PermissionSet> getPermissions(Permission permission) { return mapping.get(permission); } }
PermissionRegistry { public Set<PermissionSet> getPermissions(Permission permission) { return mapping.get(permission); }  }
PermissionRegistry { public Set<PermissionSet> getPermissions(Permission permission) { return mapping.get(permission); }  void addMapping(Permission permission, PermissionSet... permissionSet); Set<PermissionSet> getPermissions(Permission permission); Map<PermissionSet, Set<Permission>> getPermissionSets(); }
PermissionRegistry { public Set<PermissionSet> getPermissions(Permission permission) { return mapping.get(permission); }  void addMapping(Permission permission, PermissionSet... permissionSet); Set<PermissionSet> getPermissions(Permission permission); Map<PermissionSet, Set<Permission>> getPermissionSets();  }