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

@param array|string $document
the JSON API document.
@param mixed $expected
the expected value.
@param string $pointer
the JSON pointer to where the object is expected to exist within the document.
@param bool $strict
whether strict comparison should be used.
@param string $message
@return void