PHPUnit - Using a value map for mocked functions with more than 1 return value

Code
<?php

use PHPUnit\Framework\TestCase;

class 
Foo
{
    public function 
prependAwesomeTo($str) : string
    
{
        return 
'Awesome' $str;
    }
}

class 
ValueMapTest extends TestCase
{
    public function 
testPrependAwesomeTo() : void
    
{
        
// last value in every array is return value
        
$map = [
            [
'Cat''AwesomeCat'],
            [
'Dog''AwesomeDog'],
            [
'Bird''AwesomeBird'],
        ];
        
        
$foo $this->createMock('Foo');
        
$foo->expects($this->atLeastOnce())
            ->
method('prependAwesomeTo')
            ->
will($this->returnValueMap($map));
            
        
$this->assertEquals('AwesomeCat'$foo->prependAwesomeTo('Cat'));
        
$this->assertEquals('AwesomeBird'$foo->prependAwesomeTo('Bird'));
        
$this->assertEquals('AwesomeDog'$foo->prependAwesomeTo('Dog'));
        
    }
}
Result
Time: 00:00.007, Memory: 4.00 MB

OK (1 test, 0 assertions)
Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8