public void WithResponseContentType_initializes_content_type(InnerReturningRunnerBuilder <string, string> sut, Func <object, string, ILambdaContext, string> executor, string contentType) { var result = sut.WithResponseContentType(contentType); Assert.That(sut.ResponseContentType, Is.EqualTo(contentType)); }
public void UsesFunction_returns_initialized_builder_step(InnerReturningRunnerBuilder <string, string> sut, Func <object, string, ILambdaContext, string> executor) { var result = sut.UsesFunction(executor) as InnerFunctionRunnerBuilder <object>; Assert.That(result, Is.Not.Null); }