Lines Matching refs:mock
6 $mock = $this->getMockBuilder(stdClass::class)
10 $mock->expects($this->any())
17 $this->assertNull($mock->foo('bar'));
18 $this->assertNull($mock->foo(21, 42));
23 $mock = $this->getMockBuilder(stdClass::class)
27 $mock->expects($this->any())
33 $this->assertNull($mock->foo('bar'));
34 $this->assertNull($mock->foo(21, 42));
39 $mock = $this->getMockBuilder(stdClass::class)
43 $mock->expects($this->any())
50 $mock->foo('bar');
54 $mock->foo('invalid');