vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestResponse.php
/**
     * Assert that the response is a superset of the given JSON.
     *
     * @param  array  $data
     * @return $this
     */
Assert that the response is a superset of the given JSON.
@param  array  $data
@return $this
Assert that the response is a superset of the given JSON . @param array $data @return $this
public function assertJson(array $data)
    {
        PHPUnit::assertArraySubset(
            $data, $this->decodeResponseJson(), false, $this->assertJsonMessage($data)
        );
        return $this;
    }
public function assertJson ( array $ data ) { PHPUnit :: assertArraySubset ( $ data , $ this -> decodeResponseJson ( ) , false , $ this -> assertJsonMessage ( $ data ) ) ; return $ this ; }
Assert that the response is a superset of the given JSON.
Assert that the response is a superset of the given JSON .