assertThat(provider.getInjectedType(), is(sameInstance((Type) WesabeUser.class)));
}
@Test
public void itInjectsTheUserPrincipalFromTheRequest() throws Exception {
final WesabeUser user = mock(WesabeUser.class);
final HttpRequestContext request = mock(HttpRequestContext.class);
when(request.getUserPrincipal()).thenReturn(user);
final HttpContext context = mock(HttpContext.class);