Esempio n. 1
0
        public void ShouldReturnFalseWithNotEmptyText()
        {
            //Arrange
            IsEmptyText subject = new IsEmptyText(new TextOf("any text"));

            //Act
            bool actual = subject;

            //Assert
            actual.Should().BeFalse();
        }
Esempio n. 2
0
        public void ShouldReturnTrueWithEmptyText()
        {
            //Arrange
            IsEmptyText subject = new IsEmptyText(new TextOf(""));

            //Act
            bool actual = subject;

            //Assert
            actual.Should().BeTrue();
        }