@covers PHPUnit_Framework_MockObject_Generator::getMock
public function testGetMockCanCreateNonExistingFunctions() {
$mock = PHPUnit_Framework_MockObject_Generator::getMock('StdClass', array(
'testFunction',
));
$this
->assertTrue(method_exists($mock, 'testFunction'));
}