public void IsHandlerForRequest_InputtingNonSessionEndedRequest_ReturnsFalse() { SessionEndedRequestHandler handler = new SessionEndedRequestHandler(); SkillRequest request = new SkillRequest(); request.Request = new LaunchRequest(); Assert.IsFalse(handler.IsHandlerForRequest(request)); request.Request = new IntentRequest(); Assert.IsFalse(handler.IsHandlerForRequest(request)); }
public void IsHandlerForRequest_InputtingSessionEndedRequest_ReturnsTrue() { SessionEndedRequestHandler handler = new SessionEndedRequestHandler(); SkillRequest request = new SkillRequest(); request.Request = new SessionEndedRequest(); Assert.IsTrue(handler.IsHandlerForRequest(request)); }
public void IsHandlerForRequest_InputtingNull_ReturnsFalse() { SessionEndedRequestHandler handler = new SessionEndedRequestHandler(); Assert.IsFalse(handler.IsHandlerForRequest(null)); }