@Test(expected = LoginException.class)
public void testNoLoginCredentialsWorkspace() throws Exception {

    RepositoryFacade facade = getFacade(mock(Repository.class));
    facade.login((Credentials) null, "");
}