@Test
public void testActUserIdIsSetInRequestHeader() {

  when(httpHeaders.getHeaderString("ACT-User-ID")).thenReturn("1");
  RequestHeader rh = resolver.getRequestHeader();
  assertNotNull(rh.getCredentials());
  assertTrue(rh.getCredentials() instanceof SubjectCredentials);
  assertEquals(1, ((SubjectCredentials) rh.getCredentials()).getSubjectID());
}