Exemplo n.º 1
0
 /// <summary>
 /// Adds an assertion that the response body will be the exact, specified string.
 /// </summary>
 /// <param name="fixture">The fixture.</param>
 /// <param name="expected">The expected.</param>
 /// <returns></returns>
 public static IMvcFunctionalTestFixture ShouldReturnRaw(this IMvcFunctionalTestFixture fixture, string expected) =>
 fixture.ShouldReturnRaw(x => x.Should().Be(expected));