Beispiel #1
0
        public void SubFontTools_LineStartsWith_ReturnsFalseOnNullInput()
        {
            var messenger = Substitute.For <IFrameworkMessenger>();

            ISubFontTools tools = new SubFontTools(messenger);

            Assert.False(tools.LineStartsWith("what", null));
            Assert.False(tools.LineStartsWith(null, "where"));
            Assert.False(tools.LineStartsWith(null, null));
        }
Beispiel #2
0
        public void SubFontTools_LineStartsWith_CorrectlyReturnFalse()
        {
            var messenger = Substitute.For <IFrameworkMessenger>();

            ISubFontTools tools = new SubFontTools(messenger);

            Assert.False(tools.LineStartsWith("start", "end of the fun cirus"));
        }