public void WhenReflectionIsUsed_CorrectIntentsAreLoaded() { string helpIntentName = new IntentNames().HelpIntent; new TestFunctionTestRunner() .RunInitialFunction(helpIntentName) .VerifyIntentIsLoaded("LaunchIntent") .VerifyIntentIsLoaded(helpIntentName); }
public void WhenDebugIntentIsEnabled_ValidTextIsOutput() { var debugIntentName = new IntentNames().DefaultDebugIntent; var response = new TestFunctionTestRunner() .RunInitialFunction(debugIntentName) .GetOutputSpeechValue(); Assert.That(response.Contains(debugIntentName), Is.True); }