UserFrosting API

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

testSyncMethod()

public testSyncMethod( $list : mixed ) : mixed
Parameters
$list : mixed
Tags
dataProvider

syncMethodHasManyListProvider

Return values
mixed

getRelation()

Set up and simulate base expectations for arguments to relationship.

protected getRelation( ) : mixed
Return values
mixed

syncMethodHasManyListProvider()

public syncMethodHasManyListProvider( ) : mixed
Return values
mixed

expectNewModel()

protected expectNewModel( $relation : mixed [, $attributes : mixed = null ] ) : mixed
Parameters
$relation : mixed
$attributes : mixed = null
Return values
mixed

expectCreatedModel()

protected expectCreatedModel( $relation : mixed , $attributes : mixed ) : mixed
Parameters
$relation : mixed
$attributes : mixed
Return values
mixed

Search results