コード例 #1
0
        public void TestAddBlab()
        {
            //Arrange
            User user = new User("*****@*****.**");
            Blab blab = new Blab("this is a blab", user);

            //Act
            _harness.Create(blab);
            Blab actual = (Blab)_harness.ReadById(blab.Id);

            //Assert
            Assert.AreEqual(blab.ToString(), actual.ToString());
        }