@covers PHPUnit_Framework_MockObject_Generator::getMock
public function testGetMockWithFixedClassNameCanProduceTheSameMockTwice() {
$mock = $this
->getMockBuilder('StdClass')
->setMockClassName('FixedName')
->getMock();
$mock = $this
->getMockBuilder('StdClass')
->setMockClassName('FixedName')
->getMock();
$this
->assertInstanceOf('StdClass', $mock);
}