TestCase::session()

void session(array $data) Set the session to the given array. Parameters array $data Return Value void

TestCase::seeText()

$this seeText(string $text, bool $negate = false) Assert that a given string is seen on the current text. Parameters string $text bool $negate Return Value $this

TestCase::seeLink()

$this seeLink(string $text, string|null $url = null, bool $negate = false) Assert that a given link is seen on the page. Parameters string $text string|null $url bool $negate Return Value $this

TestCase::seeJsonStructure()

$this seeJsonStructure(array $structure = null, array|null $responseData = null) Assert that the JSON response has a given structure. Parameters array $structure array|null $responseData Return Value $this

TestCase::seeJsonEquals()

$this seeJsonEquals(array $data) Assert that the response contains an exact JSON array. Parameters array $data Return Value $this

TestCase::seeJson()

$this seeJson(array $data = null, bool $negate = false) Assert that the response contains JSON. Parameters array $data bool $negate Return Value $this

TestCase::seeIsSelected()

$this seeIsSelected(string $selector, string $value, bool $negate = false) Assert that the expected value is selected. Parameters string $selector string $value bool $negate Return Value $this

TestCase::seeIsChecked()

$this seeIsChecked(string $selector, bool $negate = false) Assert that the given checkbox is selected. Parameters string $selector bool $negate Return Value $this

TestCase::seeIsAuthenticatedAs()

$this seeIsAuthenticatedAs($user, string|null $guard = null) Assert that the user is authenticated as the given user. Parameters $user string|null $guard Return Value $this

TestCase::seeIsAuthenticated()

$this seeIsAuthenticated(string|null $guard = null) Assert that the user is authenticated. Parameters string|null $guard Return Value $this