private static void AssertEscaped(ForeverFrameTransport fft, CustomResponse response, string input, string expectedOutput) { fft.Send(input).Wait(); string rawResponse = response.GetData(); response.Reset(); // Doing contains due to all the stuff that gets sent through the buffer Assert.True(rawResponse.Contains(expectedOutput)); }
private static void AssertEscaped(ForeverFrameTransport fft, CustomResponse response, object input, string expectedOutput) { fft.Send(input).Wait(); string rawResponse = response.GetData(); response.Reset(); // Doing contains due to all the stuff that gets sent through the buffer Assert.True(rawResponse.Contains(expectedOutput)); }