src/Assert.php
public static function assertListContainsExact(
        $document,
        array $expected,
        string $pointer = '/data',
        bool $strict = true,
        string $message = ''
    ): void
    {
        PHPUnitAssert::assertThat(
            $document,
            new ExactInList($expected, $pointer, $strict),
            $message
        );
    }
public static function assertListContainsExact(
        $document,
        array $expected,
        string $pointer = '/data',
        bool $strict = true,
        string $message = ''
    ): void
    {
        PHPUnitAssert::assertThat(
            $document,
            new ExactInList($expected, $pointer, $strict),
            $message
        );
    }
Assert that a list in the document at the specified path contains the expected value.

@param $document
@param array $expected
@param string $pointer
@param bool $strict
@param string $message
@return void