Methods

testAttributesAreSetByConstructor()

testAttributesAreSetByConstructor() 

Test the Model constructor.

Tags

group

laravel

testAttributesAreSetByFillMethod()

testAttributesAreSetByFillMethod() 

Test the Model::fill method.

Tags

group

laravel

testAttributesAreSetByFillRawMethod()

testAttributesAreSetByFillRawMethod() 

Test the Model::fill_raw method.

Tags

group

laravel

testAttributesAreSetByFillMethodWithAccessible()

testAttributesAreSetByFillMethodWithAccessible() 

Test the Model::fill method with accessible.

Tags

group

laravel

testAttributesAreSetByFillMethodWithEmptyAccessible()

testAttributesAreSetByFillMethodWithEmptyAccessible() 

Test the Model::fill method with empty accessible array.

Tags

group

laravel

testAttributesAreSetByFillRawMethodWithAccessible()

testAttributesAreSetByFillRawMethodWithAccessible() 

Test the Model::fill_raw method with accessible.

Tags

group

laravel

testAttributeMagicSetterMethodChangesAttribute()

testAttributeMagicSetterMethodChangesAttribute() 

Test the Model::__set method.

Tags

group

laravel

testAttributeMagicSetterMethodAllowsChaining()

testAttributeMagicSetterMethodAllowsChaining() 

Test the Model::__set method allows chaining.

Tags

group

laravel

testAttributeMagicGetterMethodReturnsAttribute()

testAttributeMagicGetterMethodReturnsAttribute() 

Test the Model::__get method.

Tags

group

laravel

testAttributeSetterMethodChangesAttribute()

testAttributeSetterMethodChangesAttribute() 

Test the Model::set_* method.

Tags

group

laravel

testAttributeGetterMethodReturnsAttribute()

testAttributeGetterMethodReturnsAttribute() 

Test the Model::get_* method.

Tags

group

laravel

testDeterminationOfChangedAttributes()

testDeterminationOfChangedAttributes() 

Test determination of dirty/changed attributes.

Tags

group

laravel

testAttributePurge()

testAttributePurge() 

Test the Model::purge method.

Tags

group

laravel

testTableMethodReturnsCorrectName()

testTableMethodReturnsCorrectName() 

Test the Model::table method.

Tags

group

laravel

testConvertingToArray()

testConvertingToArray() 

Test the Model::to_array method.

Tags

group

laravel