ClientPermissions { public ClientPermissions() { this(Collections.emptyMap()); } ClientPermissions();  ClientPermissions(final Map<String, Integer> secretPermissions); void addPermission(final String secretName, final Permissions permission); void removePermission(final String secretName, final Permissions permission); boolean hasPermission(final String secretName, final Permissions permission); void clearPermission(final String secretName); void clearAllPermissions();  }
@Test public void testClientPermissions() { final ClientPermissions clientPermission = new ClientPermissions(); Assert.assertNotNull(clientPermission); Assert.assertEquals(0, clientPermission.getSecrets().size()); }