class
Illuminate
/
Testing
/
TestView
TestView
Uses
Properties
protected
$rendered string
The rendered view contents.
Default: null
Methods
public
assertViewHas ( $key , $value ) : $this
Assert that the response view has a given piece of bound data.
Parameters
- $key string|array
- $value mixed
public
assertViewHasAll ( array $bindings ) : $this
Assert that the response view has a given list of bound data.
Parameters
- $bindings array
public
assertViewMissing ( $key ) : $this
Assert that the response view is missing a piece of bound data.
Parameters
- $key string
public
assertSee ( $value , $escape ) : $this
Assert that the given string is contained within the view.
Parameters
- $value string
- $escape bool
public
assertSeeInOrder ( array $values , $escape ) : $this
Assert that the given strings are contained in order within the view.
Parameters
- $values array
- $escape bool
public
assertSeeText ( $value , $escape ) : $this
Assert that the given string is contained within the view text.
Parameters
- $value string
- $escape bool
public
assertSeeTextInOrder ( array $values , $escape ) : $this
Assert that the given strings are contained in order within the view text.
Parameters
- $values array
- $escape bool
public
assertDontSee ( $value , $escape ) : $this
Assert that the given string is not contained within the view.
Parameters
- $value string
- $escape bool
public
assertDontSeeText ( $value , $escape ) : $this
Assert that the given string is not contained within the view text.
Parameters
- $value string
- $escape bool
public
__toString ( ) : string
Get the string contents of the rendered view.