Home
last modified time | relevance | path

Searched refs:getMock (Results 26 – 50 of 63) sorted by last modified time

123

/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
H A DJsonSerializationTest.php261 $navigator = $this->getMockBuilder(GraphNavigatorInterface::class)->getMock();
267 …visitor->$functionToCall($data, [], $this->getMockBuilder(SerializationContext::class)->getMock());
H A DBaseSerializationTest.php983 …r = $this->getMockBuilder('Symfony\Component\EventDispatcher\EventDispatcherInterface')->getMock();
987 …der->setDataMapper($this->getMockBuilder('Symfony\Component\Form\DataMapperInterface')->getMock());
1011 …r = $this->getMockBuilder('Symfony\Component\EventDispatcher\EventDispatcherInterface')->getMock();
1021 …der->setDataMapper($this->getMockBuilder('Symfony\Component\Form\DataMapperInterface')->getMock());
H A DContextTest.php31 …Strategy = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock();
96 …Strategy = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock();
H A DGraphNavigatorTest.php56 $this->context = $this->getMockBuilder(SerializationContext::class)->getMock();
58 …Strategy = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock();
88 $this->context = $this->getMockBuilder(DeserializationContext::class)->getMock();
91 $exclusionStrategy = $this->getMockBuilder(ExclusionStrategyInterface::class)->getMock();
136 …>deserializationVisitor = $this->getMockBuilder(DeserializationVisitorInterface::class)->getMock();
137 …his->serializationVisitor = $this->getMockBuilder(SerializationVisitorInterface::class)->getMock();
142 ->getMock();
147 ->getMock();
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Extension/
H A DCoreTest.php21 $env = new Twig_Environment($this->getMockBuilder('Twig_LoaderInterface')->getMock());
81 …l = twig_random(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
88 …wig_random(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()), ''));
100 …twig_random(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()), []);
109 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
125 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
139 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
159 …r(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()), 'foo', 'bar');
167 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
189 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Loader/
H A DChainTest.php109 $loader1 = $this->getMockBuilder('Twig_ChainTestLoaderWithExistsInterface')->getMock();
114 $loader2 = $this->getMockBuilder('Twig_ChainTestLoaderInterface')->getMock();
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/NodeVisitor/
H A DOptimizerTest.php20 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
32 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
48 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
62 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DTemplateTest.php90 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
130 … $twig = new Environment($this->getMockBuilder('Twig_TemplateTestLoaderInterface')->getMock());
178 … $twig = new Environment($this->getMockBuilder('Twig_TemplateTestLoaderInterface')->getMock());
224 … $twig = new Environment($this->getMockBuilder('Twig_TemplateTestLoaderInterface')->getMock());
233 …ig_TemplateTest(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
261 …ig_TemplateTest(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
271 …t(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['strict_varia…
293 …ig_TemplateTest(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
303 …t(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['strict_varia…
310 …ig_TemplateTest(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
[all …]
H A DCompilerTest.php19 … = new Compiler(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
H A DContainerRuntimeLoaderTest.php21 $container = $this->getMockBuilder('Psr\Container\ContainerInterface')->getMock();
35 $container = $this->getMockBuilder('Psr\Container\ContainerInterface')->getMock();
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/
H A DStatic.php154 return $generator->getMock($this->returnType, [], [], '', false);
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/
H A DMockBuilder.php104 public function getMock() function in PHPUnit_Framework_MockObject_MockBuilder
106 $object = $this->generator->getMock(
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/
H A DGeneratorTest.php32 $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);
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']);
/plugin/findologicxmlexport/vendor/sebastian/comparator/tests/
H A DMockObjectComparatorTest.php29 $testmock = $this->getMock('SebastianBergmann\\Comparator\\TestClass');
30 $stdmock = $this->getMock('stdClass');
41 $stdmock = $this->getMock('stdClass');
53 $book1 = $this->getMock('SebastianBergmann\\Comparator\\Book', null);
56 $book2 = $this->getMock('SebastianBergmann\\Comparator\\Book', null);
69 $this->getMock('SebastianBergmann\\Comparator\\Struct', null, array(2.3)),
70 $this->getMock('SebastianBergmann\\Comparator\\Struct', null, array(2.5)),
82 $book1 = $this->getMock('SebastianBergmann\\Comparator\\Book', null);
85 $book2 = $this->getMock('SebastianBergmann\\Comparator\\Book', null);
89 $book3 = $this->getMock('SebastianBergmann\\Comparator\\Book', null);
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Exclusion/
H A DExpressionLanguageExclusionStrategyTest.php27 $this->context = $this->getMockBuilder(SerializationContext::class)->getMock();
32 ->getMock();
H A DDisjunctExclusionStrategyTest.php21 … $first = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
22 … $last = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
42 … $first = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
43 … $last = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
65 … $first = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
66 … $last = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
88 … $first = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
89 … $last = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
109 … $first = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
110 … $last = $this->getMockBuilder('JMS\Serializer\Exclusion\ExclusionStrategyInterface')->getMock(),
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Handler/
H A DIteratorHandlerTest.php57 $this->getMockBuilder(SerializationContext::class)->getMock()
72 $this->getMockBuilder(DeserializationContext::class)->getMock()
85 $visitor = $this->getMockBuilder(DeserializationVisitorInterface::class)->getMock();
92 $visitor = $this->getMockBuilder(SerializationVisitorInterface::class)->getMock();
H A DDateHandlerTest.php47 $context = $this->getMockBuilder(SerializationContext::class)->getMock();
49 $visitor = $this->getMockBuilder(SerializationVisitorInterface::class)->getMock();
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Metadata/Driver/
H A DDoctrineDriverTest.php149 $registry = $this->getMockBuilder('Doctrine\Common\Persistence\ManagerRegistry')->getMock();
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/Doctrine/
H A DObjectConstructorTest.php61 $fallback = $this->getMockBuilder(ObjectConstructorInterface::class)->getMock();
80 $fallback = $this->getMockBuilder(ObjectConstructorInterface::class)->getMock();
93 $fallback = $this->getMockBuilder(ObjectConstructorInterface::class)->getMock();
107 $fallback = $this->getMockBuilder(ObjectConstructorInterface::class)->getMock();
122 $fallback = $this->getMockBuilder(ObjectConstructorInterface::class)->getMock();
141 $fallback = $this->getMockBuilder(ObjectConstructorInterface::class)->getMock();
156 $fallback = $this->getMockBuilder(ObjectConstructorInterface::class)->getMock();
170 $fallback = $this->getMockBuilder(ObjectConstructorInterface::class)->getMock();
183 $fallback = $this->getMockBuilder(ObjectConstructorInterface::class)->getMock();
217 $this->visitor = $this->getMockBuilder(DeserializationVisitorInterface::class)->getMock();
[all …]
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/EventDispatcher/Subscriber/
H A DDoctrineProxySubscriberTest.php82 $factoryMock = $this->getMockBuilder(MetadataFactoryInterface::class)->getMock();
152 $this->context = $this->getMockBuilder(Context::class)->getMock();
H A DSymfonyValidatorValidatorSubscriberTest.php89 …tor = $this->getMockBuilder('Symfony\Component\Validator\Validator\ValidatorInterface')->getMock();
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DFilterTest.php35 … $environment = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
H A DTestTest.php36 … $environment = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Util/
H A DDeprecationCollectorTest.php23 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());

123