@Test(expected = AuthorizableTypeException.class)
public void testGetAuthorizableThrows() throws Exception {

    UserManager delegate = mock(UserManager.class);
    UserManagerFacade facade = getFacade(delegate);
    final AuthorizableFacadeTest.SuperAuthz superValue = mock(AuthorizableFacadeTest.SuperAuthz.class);
    when(delegate.getAuthorizable("foo", AuthorizableFacadeTest.SuperAuthz.class)).thenReturn(superValue);
    facade.getAuthorizable("foo", AuthorizableFacadeTest.SuperAuthz.class);
}