@Test(expected = InvalidCredentialsException.class)
public void testValidateWithCredentialsForSubjectGroup() throws Exception {

  setup("subject.1.name = subject\n" +
          "subject.1.type = group");
  accessController.validate(createCredentials(1));
}