tests/StringsTest.php
/**
     * A basic functional test example.
     *
     * @return void
     */
A basic functional test example.
@return void
A basic functional test example . @return void
public function testStringsAreReversed()
    {
        $this->post('/strings/api/v1/reverse', ['input' => '123']);
        $this->receiveJson(['input' => '123', 'output' => '321']);
    }
public function testStringsAreReversed ( ) { $ this -> post ( '/strings/api/v1/reverse' , [ 'input' => '123' ] ) ; $ this -> receiveJson ( [ 'input' => '123' , 'output' => '321' ] ) ; }
A basic functional test example.
A basic functional test example .