コード例 #1
0
        public void Should_Create_NewMember_With_Name_Id_And_FullName()
        {
            // Act
            var newMember = _membershipManager.CreateNewMember("Test", "Member");

            // Assert
            Assert.Equal(1, newMember.Id);
            Assert.Equal("Test", newMember.FirstName);
            Assert.Equal("Member", newMember.LastName);
            Assert.Equal("Test Member", newMember.FullName);
        }