Methods-map for a mock object to reduce lines of code using Mockery

Code
<?php

class MockmapTest extends PHPUnit_Framework_TestCase
{
    public function 
testMethodMap()
    {
        
$mock Mockery::mock(Fooable::CLASS);
        
$mock->shouldReceive([
            
'foo' => 1,
            
'bar' => 2,
            
'baz' => new ArrayObject(),
        ])->
once();
        
        
$this->assertSame(1$mock->foo(null));
        
$this->assertSame(2$mock->bar());
        
$this->assertInstanceOf('ArrayObject'$mock->baz());
    }
    
    protected function 
tearDown()
    {
        
Mockery::close();
    }
}

interface 
Fooable
{
    public function 
foo($foo);
    public function 
bar();
    public function 
baz();
}
Result
Time: 160 ms, Memory: 2.00MB

OK (1 test, 0 assertions)
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6