@Test
public void testResolveCurrentUserWithoutAffiliation() throws Exception {

  setup("subject.1.name = subject");
  Subject subject = accessController.resolveCurrentUser(createCredentials(1));
  assertEquals(UUID.fromString("00000000-0000-0000-0000-000000000001"), subject.getId());
  assertEquals("subject", subject.getName());
  assertNull(subject.getOrganization());
}