tflori/orm

just another orm...

View the Project on GitHub tflori/orm

Build Status Test Coverage Maintainability Latest Stable Version Total Downloads

» API Reference » ORM\Testing\EntityFetcherMock\ResultExpectation

ORM\Testing\EntityFetcherMock\ResultExpectation

Table of Contents

Abstract

Extends: Mockery\Expectation

Expectation that calls the real method of the Result until a return value is defined

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.

Methods

ORM\Testing\EntityFetcherMock\ResultExpectation::andReturn

public function andReturn(mixed $args): mixed
{@inheritDoc}
Returns mixed  
Parameters
Parameter Type Description
$args mixed  

ORM\Testing\EntityFetcherMock\ResultExpectation::andReturn

↑ top


ORM\Testing\EntityFetcherMock\ResultExpectation::andReturnArg

public function andReturnArg(mixed $index): mixed
{@inheritDoc}
Returns mixed  
Parameters
Parameter Type Description
$index mixed  

ORM\Testing\EntityFetcherMock\ResultExpectation::andReturnArg

↑ top


ORM\Testing\EntityFetcherMock\ResultExpectation::andReturnUsing

public function andReturnUsing(mixed $args): mixed
{@inheritDoc}
Returns mixed  
Parameters
Parameter Type Description
$args mixed  

ORM\Testing\EntityFetcherMock\ResultExpectation::andReturnUsing

↑ top


ORM\Testing\EntityFetcherMock\ResultExpectation::andYield

public function andYield(mixed $args): mixed
{@inheritDoc}
Returns mixed  
Parameters
Parameter Type Description
$args mixed  

ORM\Testing\EntityFetcherMock\ResultExpectation::andYield

↑ top