PHP Класс Flugg\Responder\Tests\MakeErrorResponseTest

Автор: Alexander Tømmerås ([email protected])
Наследование: extends TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

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.