public void EpamWordCounter_Constructor_SentenceIsEmpty() { var args = new string[1] { "" }; var epamWordCounter = new EpamWordCounter.EpamWordCounter(args, new MockedSentenceUtil()); Assert.IsTrue("This is to return".Equals(epamWordCounter.Outcome)); }
public void EpamWordCounter_Constructor_TooManyArgs() { var args = new string[2]; var epamWordCounter = new EpamWordCounter.EpamWordCounter(args, new MockedSentenceUtil()); Assert.IsTrue("No sentence provided".Equals(epamWordCounter.Outcome)); }
public void EpamWordCounter_Constructor_ArgsAreNull() { var epamWordCounter = new EpamWordCounter.EpamWordCounter(null, new MockedSentenceUtil()); Assert.IsTrue("No sentence provided".Equals(epamWordCounter.Outcome)); }