AssertEx.

ContainsPath<T>(IEnumerable<Path>, T) Method

Summary

Verifies that the collection contains the specified path.
Namespace
Xunit
Containing Type
AssertEx

Syntax

public static void ContainsPath<T>(IEnumerable<Path> paths, T expected) where T : Path

Type Parameters

Name Description
T The type of path to search for.

Parameters

Name Type Description
paths IEnumerable<Path> The collection of paths to search.
expected T The expected path.

Return Value

Type Description
void