예제 #1
0
        public void GivenAnyAndWhenStringWithSingleQuotesThenStringWithQuotesReturned()
        {
            var alpha = AnyVal.StringWithSingleQuotes();

            alpha.Should().NotBeNullOrEmpty();
            alpha.Should().Contain("\'");
        }
예제 #2
0
        public void GivenAnyAndSmallSizeWhenStringWithSingleQuotesThenStringWithQuotesReturned()
        {
            const int maxLength = 2;
            var       alpha     = AnyVal.StringWithSingleQuotes(maxLength);

            alpha.Length.Should().Be(maxLength);
            alpha.Should().NotBeNullOrEmpty();
            alpha.Should().Contain("\'");
        }