Create a Mock object implementing multiple interfaces in PHPUnit

Code
<?php

use PHPUnit\Framework\TestCase;

interface 
Foo{}
interface 
Bar{}

class 
MockTypeTest extends TestCase
{
    public function 
testTypes()
    {
        
$obj $this->createMock([Foo::CLASS, Bar::CLASS]);
        
        
$this->assertInstanceOf(Foo::CLASS, $obj);
        
$this->assertInstanceOf(Bar::CLASS, $obj);
    }
}
Result
Time: 217 ms, Memory: 12.00MB

OK (1 test, 0 assertions)
Used Versions
PHP 7.2, Zend 3.0, Symfony 4.0, Laravel 5.6, PHPUnit 6.5, Doctrine 2.8