Lines Matching refs:generator
20 private $generator; variable in Framework_MockObject_GeneratorTest
24 $this->generator = new PHPUnit_Framework_MockObject_Generator;
32 $this->generator->getMock(stdClass::class, [0]);
37 $mock = $this->generator->getMock(stdClass::class, ['testFunction']);
48 $this->generator->getMock(stdClass::class, ['foo', 'bar', 'foo']);
56 $mock = $this->generator->getMock(InterfaceWithSemiReservedMethodName::class);
64 $mock = $this->generator->getMockForAbstractClass(Countable::class);
71 $mock = $this->generator->getMockForAbstractClass(AbstractMockTestClass::class);
78 $mock = $this->generator->getMockForAbstractClass(
94 $mock = $this->generator->getMockForAbstractClass(AbstractMockTestClass::class);
110 $this->generator->getMockForAbstractClass($className, [], $mockClassName);
118 $this->generator->getMockForAbstractClass('Tux');
131 $mock = $this->generator->getMockForTrait(
149 $mock = $this->generator->getMockForTrait(AbstractTrait::class);
156 $mock = $this->generator->getMock(SingletonClass::class, ['doSomething'], [], '', false);
166 $this->generator->getMock(stdClass::class, [], [], '', false, true, true, true, true);
174 $stub = $this->generator->getMock([AnInterfaceWithReturnType::class, AnInterface::class]);
185 $mock = $this->generator->getMock($className, ['someMethod']);
194 $mock = $this->generator->getMock($className, ['someMethod']);