Example #1
0
        public void TwoUsersShouldBeEqual()
        {
            User user1 = new User("tisciencia");
            User user2 = new User("tisciencia");

            user1.Equals(user2).Should().Be(true);
        }
Example #2
0
        public void TwoUsersShouldBeDiff()
        {
            User user1 = new User("tisciencia");
            User user2 = new User("vintem");

            user1.Equals(user2).Should().Be(false);
        }