public void Should_throw_UserNotLoggedInException_when_user_session_does_not_return_any_logged_used() { loggedUser = null; Assert.That(() => _tripService.GetTripsByUser(new User.User()), Throws.TypeOf <UserNotLoggedInException>()); }