Ouzo\Tests\Mock\WhenBuilder::thenReturn PHP Метод

thenReturn() публичный Метод

public thenReturn ( )
    public function thenReturn()
    {
        foreach (func_get_args() as $result) {
            $this->mock->_stubbed_calls[] = new CallStub($this->methodCall, Functions::constant($result));
        }
        return $this;
    }