Table of Contents

Method ForStringNotFound

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

ForStringNotFound(string?, string?)

Creates an instance of the StartsWithException class to be thrown when a string does not start with the given value.

public static StartsWithException ForStringNotFound(string? expected, string? actual)

Parameters

expected string

The expected start

actual string

The actual value

Returns