@Test
public void testAddPermission() {

	final ClientPermissions clientPermission = new ClientPermissions();
	final String secret1 = "test1";
	final String secret2 = "test2";
	clientPermission.addPermission(secret1, Permissions.GENERATE);
	// Ensure only one permission impacted
	Assert.assertTrue(clientPermission.hasPermission(secret1, Permissions.GENERATE));
	Assert.assertFalse(clientPermission.hasPermission(secret2, Permissions.GENERATE));
	// Ensure no other permissions impacted
	Assert.assertFalse(clientPermission.hasPermission(secret1, Permissions.DELETE));
	Assert.assertFalse(clientPermission.hasPermission(secret1, Permissions.DISABLE));
	Assert.assertFalse(clientPermission.hasPermission(secret1, Permissions.ENABLE));
	Assert.assertFalse(clientPermission.hasPermission(secret1, Permissions.EXPONENTIATE));
	Assert.assertFalse(clientPermission.hasPermission(secret1, Permissions.INFO));
	Assert.assertFalse(clientPermission.hasPermission(secret1, Permissions.READ));
}