public void RetrieveFriendshipRepositoryTest() { IFriendshipRepository repository = new FriendshipRepository(); Friendship friendship = repository.Get(1); Assert.IsNotNull(friendship); Assert.IsTrue(friendship.Id > 0); Assert.IsFalse(string.IsNullOrEmpty(friendship.Name)); friendship.Should().NotBeNull(); friendship.ShouldBeEquivalentTo(ObjectMother.GetFriendship(), options => options.Excluding(b => b.Id)); }