1 instantiation of StartsWithException
xunit.assert (1)
StringAsserts.cs (1)
126
throw new
StartsWithException
(expectedStartString, actualString);
4 references to StartsWithException
Microsoft.DotNet.XUnitAssert.Tests (3)
StringAssertsTests.cs (3)
198
Assert.IsType<
StartsWithException
>(ex);
210
Assert.Throws<
StartsWithException
>(() => Assert.StartsWith("hey", "Hello, world!"));
216
Assert.Throws<
StartsWithException
>(() => Assert.StartsWith("foo", null));
xunit.assert (1)
Sdk\Exceptions\StartsWithException.cs (1)
20
/// Creates a new instance of the <see cref="
StartsWithException
"/> class.