github info
R# settings
Forgot about user's trips
Initial failing test (dependecy problem)
Introduced "testing seam": extracted GetLoggedInUser overriden in tests
Make test more readable and more explicit
Fix GetLoggedInUser extraction
Should not return any trips when users are not friends...
These are really const
Extract SetUp method
Test: ShouldNotReturnAnyTripsWhenUsersAreFriends and we have 100% coverage!
Extract common setup
Extracted UserBuilder
Default unique name for user
IsFriendWith(user)
Make use of IsFriendWith
Move guard clause to the top
Get rid of variables and explicite name intent
Get rid of loggedInUser
Logged in user passed to TripService