public void CapitalizeWords_NullArgument_ThrowArgNullException() { Assert.That(() => Capitalize.CapitalizeWords(null), Throws.ArgumentNullException); }
public void CapitalizeWords_WhenCalled_ReturnCapitalizedString(string str, string expectedResult) { var result = Capitalize.CapitalizeWords(str); Assert.That(result, Is.EqualTo(expectedResult)); }