@Test
public void validSSOTokenIsAccepted() {

    SSOToken ssoToken = new SSOToken();
    Mockito.doReturn(true).when(kataSingleSignOnRegistry).is_valid(ssoToken);
    Response response = myService.handleRequest(new Request("Foo", ssoToken));
    assertEquals("hello Foo!", response.getText());
}