public void PhraseOverloadedConstructorTest() { // arrange string expected = "Hello, James!"; string actual; Phrase hello = new Phrase("Hello, James!"); // act actual = hello.get(); // assert Assert.AreEqual(actual, expected); }
public void PhraseDefaultConstructorTest() { // arrange string expected = "Hello, World!"; string actual; Phrase hello = new Phrase(); // act actual = hello.get(); // assert Assert.AreEqual(actual, expected); }