PHP Class Flugg\Responder\Tests\MakeErrorResponseTest

Author: Alexander Tømmerås ([email protected])
Inheritance: extends TestCase
Exibir arquivo Open project: flugger/laravel-responder

Public Methods

Method Description
youCanMakeErrorResponses ( ) Test that you can generate error responses using the responder service.
youCanMakeErrorResponsesUsingFacade ( ) Test that you can generate error responses using the facade.
youCanMakeErrorResponsesUsingHelperMethod ( ) Test that you can generate error responses using the helper method.
youCanMakeErrorResponsesUsingTrait ( ) Test that you can generate error responses using the RespondsWithJson trait.
youCanUseLangFilesForErrorMessages ( ) Test that it uses error messages from the package language file based on error code.

Method Details

youCanMakeErrorResponses() public method

Test that you can generate error responses using the responder service.

youCanMakeErrorResponsesUsingFacade() public method

Test that you can generate error responses using the facade.

youCanMakeErrorResponsesUsingHelperMethod() public method

Test that you can generate error responses using the helper method.

youCanMakeErrorResponsesUsingTrait() public method

Test that you can generate error responses using the RespondsWithJson trait.

youCanUseLangFilesForErrorMessages() public method

Test that it uses error messages from the package language file based on error code.