DatabaseSyncableTest extends TestCase
Tests the HasManySyncable relation.
Table of Contents
tearDown() | void | |
---|---|---|
testSyncMethod() | mixed | |
getRelation() | Set up and simulate base expectations for arguments to relationship. | mixed |
syncMethodHasManyListProvider() | mixed | |
expectNewModel() | mixed | |
expectCreatedModel() | mixed |
Methods
tearDown()
public
tearDown(
)
: void
testSyncMethod()
public
testSyncMethod(
$list :
mixed
)
: mixed
Parameters
- $list : mixed
Tags
Return values
mixedgetRelation()
Set up and simulate base expectations for arguments to relationship.
protected
getRelation(
)
: mixed
Return values
mixedsyncMethodHasManyListProvider()
public
syncMethodHasManyListProvider(
)
: mixed
Return values
mixedexpectNewModel()
protected
expectNewModel(
$relation :
mixed
[, $attributes :
mixed
= null ]
)
: mixed
Parameters
- $relation : mixed
- $attributes : mixed = null
Return values
mixedexpectCreatedModel()
protected
expectCreatedModel(
$relation :
mixed
, $attributes :
mixed
)
: mixed
Parameters
- $relation : mixed
- $attributes : mixed