just another orm...
View the Project on GitHub tflori/orm
» API Reference » ORM\Testing\EntityFetcherMock\ResultExpectation
Extends: Mockery\Expectation
Mockery ignores andReturn() and andThrow() when passthru() is set - this expectation disables passthru() when a return value is defined. All other and() methods use andReturn() internally.
public function andReturn(mixed $args): mixed
| Returns | mixed |
| Parameter | Type | Description |
|---|---|---|
$args |
mixed |
ORM\Testing\EntityFetcherMock\ResultExpectation::andReturn
public function andReturnArg(mixed $index): mixed
| Returns | mixed |
| Parameter | Type | Description |
|---|---|---|
$index |
mixed |
ORM\Testing\EntityFetcherMock\ResultExpectation::andReturnArg
public function andReturnUsing(mixed $args): mixed
| Returns | mixed |
| Parameter | Type | Description |
|---|---|---|
$args |
mixed |
ORM\Testing\EntityFetcherMock\ResultExpectation::andReturnUsing
public function andYield(mixed $args): mixed
| Returns | mixed |
| Parameter | Type | Description |
|---|---|---|
$args |
mixed |
ORM\Testing\EntityFetcherMock\ResultExpectation::andYield