Home
last modified time | relevance | path

Searched refs:willReturn (Results 1 – 17 of 17) sorted by relevance

/plugin/jplayer/vendor/symfony/process/Tests/
H A DProcessFailedExceptionTest.php30 ->willReturn(true);
54 ->willReturn(false);
58 ->willReturn($output);
62 ->willReturn($errorOutput);
66 ->willReturn($exitCode);
70 ->willReturn($exitText);
74 ->willReturn(false);
102 ->willReturn(false);
112 ->willReturn($exitCode);
116 ->willReturn($exitText);
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Handler/
H A DArrayCollectionHandlerTest.php26 $visitor->method('visitArray')->with(['foo'])->willReturn(['foo']);
44 $visitor->method('visitArray')->with([])->willReturn([]);
49 …$factoryMock->method('getMetadataForClass')->willReturn(new ClassMetadata(ArrayCollection::class));
51 $context->method('getExclusionStrategy')->willReturn(new AlwaysExcludeExclusionStrategy());
52 $context->method('getMetadataFactory')->willReturn($factoryMock);
H A DFormErrorHandlerTest.php161 $formError->expects($this->once())->method('getMessageTemplate')->willReturn('error!');
162 $formError->expects($this->once())->method('getMessagePluralization')->willReturn(null);
163 $formError->expects($this->once())->method('getMessageParameters')->willReturn([]);
185 $formError->expects($this->once())->method('getMessageTemplate')->willReturn('error!');
186 $formError->expects($this->exactly(2))->method('getMessagePluralization')->willReturn(0);
187 $formError->expects($this->once())->method('getMessageParameters')->willReturn([]);
208 $formError->expects($this->once())->method('getMessageTemplate')->willReturn('error!');
209 $formError->expects($this->once())->method('getMessagePluralization')->willReturn(null);
210 $formError->expects($this->once())->method('getMessageParameters')->willReturn([]);
232 $formError->expects($this->once())->method('getMessageTemplate')->willReturn('error!');
[all …]
H A DIteratorHandlerTest.php86 $visitor->method('visitArray')->with(self::DATA)->willReturn(self::DATA);
93 $visitor->method('visitArray')->with(self::DATA)->willReturn(self::DATA);
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/EventDispatcher/Subscriber/
H A DDoctrineProxySubscriberTest.php51 … $this->context->method('getExclusionStrategy')->willReturn(new AlwaysExcludeExclusionStrategy());
52 …$this->context->method('getMetadataFactory')->willReturn(new class implements MetadataFactoryInter…
83 … $factoryMock->method('getMetadataForClass')->willReturn(new ClassMetadata(SimpleObject::class));
85 … $this->context->method('getExclusionStrategy')->willReturn(new AlwaysExcludeExclusionStrategy());
86 $this->context->method('getMetadataFactory')->willReturn($factoryMock);
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DContainerRuntimeLoaderTest.php22 $container->expects($this->once())->method('has')->with('stdClass')->willReturn(true);
23 … $container->expects($this->once())->method('get')->with('stdClass')->willReturn(new \stdClass());
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Exclusion/
H A DExpressionLanguageExclusionStrategyTest.php28 $this->context->method('getObject')->willReturn($this->visitedObject);
49 ->willReturn(true);
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/MockObject/Builder/
H A DInvocationMockerTest.php12 ->willReturn(1);
25 ->willReturn(1, 2, 3);
/plugin/findologicxmlexport/vendor/phpspec/prophecy/
H A DREADME.md137 $prophecy->read('123')->willReturn('value');
188 $user->getName()->willReturn(null);
192 $this->getName()->willReturn('everzet');
257 $user->getName()->willReturn(null);
261 $this->getName()->willReturn($args[0]);
266 $user->getName()->willReturn($args[0]);
271 $user->getName()->willReturn($args[0]);
284 $user->getName()->willReturn(null);
288 $this->getName()->willReturn($args[0]);
293 $user->getName()->willReturn($args[0]);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Regression/GitHub/2366/
H A DIssue2366Test.php23 $o->method('foo')->willReturn(1);
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Prophecy/
H A DMethodProphecy.php171 public function willReturn() function in Prophecy\\Prophecy\\MethodProphecy
316 $this->willReturn();
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/Doctrine/
H A DObjectConstructorTest.php108 $fallback->expects($this->once())->method('construct')->willReturn($author);
123 $fallback->expects($this->once())->method('construct')->willReturn($author);
184 $fallback->expects($this->once())->method('construct')->willReturn($author);
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/
H A DGeneratorTest.php98 ->willReturn('testing');
H A DMockObjectTest.php207 ->willReturn('something');
1002 $mock->method('__toString')->willReturn('foo');
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/
H A DInvocationMocker.php93 public function willReturn($value, ...$nextValues) function in PHPUnit_Framework_MockObject_Builder_InvocationMocker
/plugin/findologicxmlexport/vendor/jms/serializer/tests/
H A DSerializerBuilderTest.php72 ->willReturn(['name' => 'DateTimeImmutable', 'params' => [2 => 'd-Y-m']]);
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/
H A DTestCase.php1484 $o->method($method)->willReturn($return);