public void TestOneLinerJokeConversation() { Dictionary <String, String> input = new Dictionary <string, string> { { "Command", "jokes" }, }; CurrentConversation = new OneLinerConversation(GetConfigurationManager(), "A really funny joke here"); Assert.AreEqual("A really funny joke here", RunSingleConversation <CashewJokesConversation>(input)); }
public void TestOneLinerRequiredGrammars() { JokeConversation convo = new OneLinerConversation(GetConfigurationManager(), "A really funny joke"); Assert.AreEqual(0, convo.GrammarsNeeded.Count()); }