Beispiel #1
0
        public void TestRemoveAll()
        {
            //Arrange
            BlabAdapter actual   = _harness;
            Blab        blab     = new Blab(_message, _testUser);
            User        mockUser = new User("*****@*****.**");
            Blab        blabTwo  = new Blab(_message, mockUser);

            //Act
            _harness.Add(blab);
            _harness.Add(blabTwo);
            _harness.RemoveAll();
            //Assert
            Assert.AreEqual(_harness.ToString(), actual.ToString());
        }