コード例 #1
0
            public void ItShouldMatchStringWhenNotEmpty()
            {
                var result = new LeftJoinComponent("Table")
                             .GetValue();

                Assert.That(result == "LEFT JOIN Table");
            }
コード例 #2
0
            public void ItShouldMatchStringWhenEmpty()
            {
                var result = new LeftJoinComponent("")
                             .GetValue();

                Assert.That(result.Trim() == "LEFT JOIN");
            }