@Test
public void testClientPermissionsMapOfStringInteger() {

	Map<String, Integer> map = new HashMap<>();
	final String secret1 = "test1";
	final String secret2 = "test2";
	map.put(secret1, Permissions.DELETE.getCode());
	map.put(secret1, Permissions.ENABLE.getCode());
	map.put(secret2, Permissions.DISABLE.getCode());
	// Create permissions from map
	final ClientPermissions clientPermission = new ClientPermissions(map);
	Assert.assertEquals(2, clientPermission.getSecrets().size());
}