Exemple #1
0
        public void TestWithAutogeneratedNumberAndString()
        {
            var fixture = new Fixture();

            var inputString = fixture.Create <string>();
            var inputNum    = fixture.Create <int>();

            var sut = new StringUtils();

            var result = sut.AppendNumberToString(inputString,
                                                  inputNum);

            Assert.Equal(inputString + inputNum, result);
        }