public void GetMemberByLoginTest()
        {
            //Arrange
            var repo    = new FakeMemberRepository();
            var member1 = new Member()
            {
                LoginName = "Spooky", Password = "******", FirstName = "Fox", LastName = "Mulder", Email = "*****@*****.**"
            };

            repo.AddMember(member1);
            var member2 = new Member()
            {
                LoginName = "Superman", Password = "******", FirstName = "Clark", LastName = "Kent", Email = "*****@*****.**"
            };

            repo.AddMember(member2);
            //Act
            repo.GetMemberbyLoginName("Superman");
            repo.GetMemberbyLoginName("Spooky");
            //Assert
            Assert.AreSame(member1, repo.Members[0]);
            Assert.AreSame(member2, repo.Members[1]);
            Assert.AreEqual(member1, repo.Members[0]);
            Assert.AreEqual(member2, repo.Members[1]);
            Assert.AreNotEqual(member1, repo.Members[1]);
            Assert.AreNotEqual(member2, repo.Members[0]);
        }
        public void AddMemberTest()
        {
            //Arrange
            var repo    = new FakeMemberRepository();
            var member1 = new Member();
            var member2 = new Member();

            //ACT
            repo.AddMember(member1);
            repo.AddMember(member2);
            //Assert
            Assert.AreSame(member1, repo.Members[0]);
            Assert.AreSame(member2, repo.Members[1]);
            Assert.AreEqual(member1, repo.Members[0]);
            Assert.AreEqual(member2, repo.Members[1]);
            Assert.AreNotEqual(member1, repo.Members[1]);
            Assert.AreNotEqual(member2, repo.Members[0]);
        }