Beispiel #1
0
 public void CapitalizeWords_NullArgument_ThrowArgNullException()
 {
     Assert.That(() => Capitalize.CapitalizeWords(null), Throws.ArgumentNullException);
 }
Beispiel #2
0
        public void CapitalizeWords_WhenCalled_ReturnCapitalizedString(string str, string expectedResult)
        {
            var result = Capitalize.CapitalizeWords(str);

            Assert.That(result, Is.EqualTo(expectedResult));
        }