Property | Type | Description | |
---|---|---|---|
$previousDependencyInjector | Phalcon\DiInterface | ||
$tester | UnitTester | UnitTester Object |
Method | Description | |
---|---|---|
providerIncompleteEntity ( ) | ||
providerRelationIsNotDefinedOrSupported ( ) | ||
providerSubjectIsNotValid ( ) | ||
providerWithoutArguments ( ) | ||
testBelongsTo ( ) | ||
testManyEagerLoadsAndConstraints ( ) | ||
testShouldLoadChildOfEmptyParentWithoutException ( ) | https://github.com/stibiumz/phalcon.eager-loading/issues/4 | |
testShouldThrowBadMethodCallExceptionIfArgumentsWereNotProvided ( string $method ) | ||
testShouldThrowInvalidArgumentExceptionIfLoaderSubjectIsNotValid ( array $args ) | ||
testShouldThrowLogicExceptionIfTheEntityWillBeIncomplete ( string $method, array $args ) | ||
testShouldThrowRuntimeExceptionIfTheRelationIsNotDefinedOrSupported ( array $args ) | ||
testShouldUseEagerLoadingAndDetectBelongsToDeep ( ) | ||
testShouldUseEagerLoadingAndDetectHasMany ( ) | ||
testShouldUseEagerLoadingAndDetectHasManyToMany ( ) | ||
testShouldUseEagerLoadingAndDetectHasOne ( ) | ||
testShouldUseEagerLoadingAndGetModelByUsingMethods ( ) |
Method | Description | |
---|---|---|
_after ( ) | executed after each test | |
_before ( ) | executed before each test | |
resultSetToEagerLoadingEquivalent ( $val ) |
public providerRelationIsNotDefinedOrSupported ( ) |
protected resultSetToEagerLoadingEquivalent ( $val ) |
public testShouldThrowBadMethodCallExceptionIfArgumentsWereNotProvided ( string $method ) | ||
$method | string |
public testShouldThrowInvalidArgumentExceptionIfLoaderSubjectIsNotValid ( array $args ) | ||
$args | array |
public testShouldThrowLogicExceptionIfTheEntityWillBeIncomplete ( string $method, array $args ) | ||
$method | string | |
$args | array |
public testShouldThrowRuntimeExceptionIfTheRelationIsNotDefinedOrSupported ( array $args ) | ||
$args | array |
public testShouldUseEagerLoadingAndDetectHasMany ( ) |
public testShouldUseEagerLoadingAndDetectHasOne ( ) |
protected DiInterface,Phalcon $previousDependencyInjector | ||
return | Phalcon\DiInterface |