@Test
public void testCreatePrivilegeResourcesWithUppercaseUsername() {

  // GIVEN
  UserPrivilegeService userPrivilegeService = new UserPrivilegeService("User");
  // WHEN
  ResourceInstance result = userPrivilegeService.createPrivilegeResource("test");
  // THEN
  assertEquals( "user", result.getKeyValueMap().get(Resource.Type.User));
}