PHP Class Flugg\Responder\Tests\MakeErrorResponseTest

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

Méthodes publiques

Méthode 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 méthode

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

youCanMakeErrorResponsesUsingFacade() public méthode

Test that you can generate error responses using the facade.

youCanMakeErrorResponsesUsingHelperMethod() public méthode

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

youCanMakeErrorResponsesUsingTrait() public méthode

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

youCanUseLangFilesForErrorMessages() public méthode

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