public void login_throws_if_credentials_have_been_rejected() { Assert.Throws<AuthenticationException>(() => { LiveAuthenticationService.Login(Guid.NewGuid().ToString(), "password"); }); }