Testing an invokation order in PHPUnit

Code
<?php

class FixedOrderTest extends PHPUnit_Framework_TestCase
{
    public function 
testDoWork()
    {
        
$manufacturer = new ToyManufacturer();
        
        
$toyProcess $this->createMock(ToyProcess::CLASS);
        
$toyProcess->expects($this->at(0))
            ->
method('buildToy')
            ->
will($this->returnValue('ElePHPant'));
        
        
$toyProcess->expects($this->at(1))
            ->
method('paintToy')
            ->
will($this->returnValue('BlueElePHPant'));
        
        
$toyProcess->expects($this->at(2))
            ->
method('wrapToy')
            ->
will($this->returnValue('WrappedBlueElePHPant'));
        
        
$qualityCheck $this->createMock(ToyQualityControl::CLASS);
        
$qualityCheck->expects($this->atLeastOnce())
            ->
method('isOkay')
            ->
will($this->returnValue(true));
        
        
$present $manufacturer->doWork($toyProcess$qualityCheck);
        
        
$this->assertEquals('WrappedBlueElePHPant'$present);
    }
}

class 
ToyManufacturer
{
    public function 
doWork(ToyProcess $toyProcessToyQualityControl $qualityCheck)
    {
        
$toy $toyProcess->buildToy();
        
$coloredToy $toyProcess->paintToy($toy);
        
        if (!
$qualityCheck->isOkay($coloredToy)) {
            throw new 
Exception('Bad quality Toy');
        }
        
        return 
$toyProcess->wrapToy($coloredToy);
    }
}

interface 
ToyProcess
{
    public function 
buildToy();
    
    public function 
paintToy($toy);
    
    public function 
wrapToy($toy);
}

interface 
ToyQualityControl
{
    public function 
isOkay($toy);
}
Result
Time: 69 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