public static function assertFetchedOne(
        $status,
        $contentType,
        $content,
        array $expected,
        bool $strict = true,
        string $message = ''
    ): Document
    {
        return self::assertJsonApi($status, $contentType, $content, self::STATUS_OK, $message)
            ->assertHash($expected, '/data', $strict, $message);
    }
public static function assertFetchedOne(
        $status,
        $contentType,
        $content,
        array $expected,
        bool $strict = true,
        string $message = ''
    ): Document
    {
        return self::assertJsonApi($status, $contentType, $content, self::STATUS_OK, $message)
            ->assertHash($expected, '/data', $strict, $message);
    }
public static function assertFetchedOne ( $ status , $ contentType , $ content , array $ expected , bool $ strict = true , string $ message = '' ) : Document { return self :: assertJsonApi ( $ status , $ contentType , $ content , self :: STATUS_OK , $ message ) -> assertHash ( $ expected , '/data' , $ strict , $ message ) ; }
Assert that a resource was fetched.

@param $status
@param $contentType
@param $content
@param array $expected
the expected resource, or a subset of the expected resource.
@param bool $strict
@param string $message
@return Document
Assert that a resource was fetched .