Beispiel #1
0
        public void CanGetProfileById()
        {
            // Act
            Profile p = ProfileProvider.Get(MyProfile.Id);

            // Assert
            Assert.IsNotNull(p);
            Assert.AreEqual(MyProfile.Id, p.Id);
            Assert.AreEqual(MyProfile.ProfileName, p.ProfileName);
            Assert.AreEqual(MyProfile.FullName, p.FullName);
            Assert.AreEqual(MyProfile.AboutMe, p.AboutMe);
        }