Beispiel #1
0
        public void T0109_IsNullOrEmpty_Null_ReturnsTrue()
        {
            LengthLimitedStringForTest lls = new LengthLimitedStringForTest();

            Assert.IsTrue(lls.IsNullOrEmpty());
        }
Beispiel #2
0
        public void T0111_IsNullOrEmpty_WhitespaceOnly_ReturnsFalse()
        {
            LengthLimitedStringForTest lls = new LengthLimitedStringForTest("\t\r\n ");

            Assert.IsFalse(lls.IsNullOrEmpty());
        }
Beispiel #3
0
        public void T0112_IsNullOrEmpty_SomeValue_ReturnsFalse()
        {
            LengthLimitedStringForTest lls = new LengthLimitedStringForTest("Bla bla bla");

            Assert.IsFalse(lls.IsNullOrEmpty());
        }
Beispiel #4
0
        public void T0110_IsNullOrEmpty_Empty_ReturnsTrue()
        {
            LengthLimitedStringForTest lls = new LengthLimitedStringForTest(string.Empty);

            Assert.IsTrue(lls.IsNullOrEmpty());
        }