File
testscasesmessages.test.php
Package
Default
Class hierarchy
PHPUnit_Framework_TestCase
MessagesTest

Tags

None found

Properties

$messages

$messages : \Messages

The Messages instance.

Type

Messages

Tags

None found

Methods

setUp()

setUp() 

Setup the test environment.

Tags

None found

testAddingMessagesDoesNotCreateDuplicateMessages()

testAddingMessagesDoesNotCreateDuplicateMessages() 

Test the Messages::add method.

Tags

group

laravel

testAddMethodPutsMessageInMessagesArray()

testAddMethodPutsMessageInMessagesArray() 

Test the Messages::add method.

Tags

group

laravel

testHasMethodReturnsTrue()

testHasMethodReturnsTrue() 

Test the Messages::has method.

Tags

group

laravel

testHasMethodReturnsFalse()

testHasMethodReturnsFalse() 

Test the Messages::has method.

Tags

group

laravel

testFirstMethodReturnsSingleString()

testFirstMethodReturnsSingleString() 

Test the Messages::first method.

Tags

group

laravel

testGetMethodReturnsAllMessagesForAttribute()

testGetMethodReturnsAllMessagesForAttribute() 

Test the Messages::get method.

Tags

group

laravel

testAllMethodReturnsAllErrorMessages()

testAllMethodReturnsAllErrorMessages() 

Test the Messages::all method.

Tags

group

laravel

testMessagesRespectFormat()

testMessagesRespectFormat() 

Test the Messages::get method.

Tags

group

laravel