haveAuthor() public method

Define custom actions here
public haveAuthor ( )
 public function editAnAuthorWithInvalidAttributes(FunctionalTester $I)
 {
     $author = $I->haveAuthor();
     $attributes = ['id' => $author->id, 'name' => 'Updated Author2', 'email' => 'debug'];
     $I->sendPUT('/authors/' . $author->id, $attributes);
     $I->sendGET('/authors');
     $I->dontSeeResponseContainsJson($attributes);
 }