public function assertFetchedOneExact($expected, bool $strict = true): self
    {
        $this->document = HttpAssert::assertFetchedExact(
            $this->getStatusCode(),
            $this->getContentType(),
            $this->getContent(),
            $this->identifier($expected),
            $strict
        );

        return $this;
    }
public function assertFetchedOneExact($expected, bool $strict = true): self
    {
        $this->document = HttpAssert::assertFetchedExact(
            $this->getStatusCode(),
            $this->getContentType(),
            $this->getContent(),
            $this->identifier($expected),
            $strict
        );

        return $this;
    }
public function assertFetchedOneExact ( $ expected , bool $ strict = true ) : self { $ this -> document = HttpAssert :: assertFetchedExact ( $ this -> getStatusCode ( ) , $ this -> getContentType ( ) , $ this -> getContent ( ) , $ this -> identifier ( $ expected ) , $ strict ) ; return $ this ; }
Assert that an exact resource was fetched.

@param UrlRoutable|string|int|array $expected
the expected resource.
@param bool $strict
@return $this
Assert that an exact resource was fetched .