Create a Mock object implementing multiple interfaces in PHPUnit

Code
<?php

interface Foo{}
interface 
Bar{}

class 
MockTypeTest extends PHPUnit_Framework_TestCase
{
    public function 
testTypes()
    {
        
$obj $this->createMock([Foo::CLASS, Bar::CLASS]);
        
        
$this->assertInstanceOf(Foo::CLASS, $obj);
        
$this->assertInstanceOf(Bar::CLASS, $obj);
    }
}
Result
Time: 228 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