public void testBadIndex() { XmlNode testNode = getNode("<topicstar index=\"two\"/>"); var mockBotTagHandler = new AIMLbot.AIMLTagHandlers.topicstar(this.mockBot, this.mockUser, this.mockQuery, mockRequest, mockResult, testNode); Assert.Equal("", mockBotTagHandler.Transform()); }
public void testAtomic() { XmlNode testNode = getNode("<topicstar/>"); var mockBotTagHandler = new AIMLbot.AIMLTagHandlers.topicstar(this.mockBot, this.mockUser, this.mockQuery, mockRequest, mockResult, testNode); Assert.Equal("second star", mockBotTagHandler.Transform()); }