Method |
Description |
|
youCanMakeSuccessResponses ( ) |
Test that you can generate success responses using the responder service. |
|
youCanOmitData ( ) |
Test that you can omit the first parameter. |
|
youCanOmitStatusCode ( ) |
Test that you can omit the second parameter. |
|
youCanPassInMetaData ( ) |
Test that you can add meta data using a third argument. |
|
youCanPassInStatusCode ( ) |
Test that you can change the status code using a second argument. |
|
youCanUseABuilderAsData ( ) |
Test that you may pass in an Eloquent builder as the data. |
|
youCanUseACollectionAsData ( ) |
Test that you may pass in an Eloquent collection as the data. |
|
youCanUseAPaginatorAsData ( ) |
Test that you may pass in a Laravel paginator as the data. |
|
youCanUseNullAsData ( ) |
Test that you may pass in a Laravel paginator as the data. |
|