Home
last modified time | relevance | path

Searched refs:getMock (Results 1 – 25 of 63) sorted by relevance

123

/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/phpunit/phpunit-mock-objects/tests/
H A DMockObjectTest.php16 ->getMock();
25 ->getMock();
38 ->getMock();
51 ->getMock();
60 ->getMock();
71 ->getMock();
83 ->getMock();
95 ->getMock();
108 ->getMock();
509 ->getMock();
[all …]
H A DMockBuilderTest.php15 $mock = $this->getMockBuilder(Mockable::class)->getMock();
22 $mock = $this->getMockBuilder(Mockable::class)->getMock();
32 ->getMock();
42 ->getMock();
52 ->getMock();
60 $mock = $this->getMockBuilder(Mockable::class)->getMock();
69 ->getMock();
78 ->getMock();
87 ->getMock();
95 ->getMock();
[all …]
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']);
H A DProxyObjectTest.php17 ->getMock();
31 ->getMock();
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DLexerTest.php24 …xer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
34 …xer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
45 …xer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
62 …xer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
87 …xer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
107 …xer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
122 …xer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
134 …xer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
146 …xer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
158 …xer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
[all …]
H A DExpressionParserTest.php28 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
57 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
70 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
236 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
247 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
259 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
272 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
291 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
320 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
332 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['cache' …
[all …]
H A DEnvironmentTest.php91 $loader = $this->getMockBuilder('Twig_EnvironmentTestLoaderInterface')->getMock();
205 ->getMock()
222 $cache = $this->getMockBuilder('\Twig\Cache\CacheInterface')->getMock();
249 $cache = $this->getMockBuilder('\Twig\Cache\CacheInterface')->getMock();
277 $cache = $this->getMockBuilder('\Twig\Cache\CacheInterface')->getMock();
305 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
323 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
337 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
362 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
381 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock());
[all …]
H A DParserTest.php30 …('parent', $this->getMockBuilder('\Twig\Node\MacroNode')->disableOriginalConstructor()->getMock());
45 …er = new Parser(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
61 …er = new Parser(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
132 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), [
155 $twig = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), [
177 … new TestParser(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock()));
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 DContainerRuntimeLoaderTest.php21 $container = $this->getMockBuilder('Psr\Container\ContainerInterface')->getMock();
35 $container = $this->getMockBuilder('Psr\Container\ContainerInterface')->getMock();
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Exclusion/
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/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/jms/serializer/tests/Handler/
H A DArrayCollectionHandlerTest.php25 $visitor = $this->getMockBuilder(SerializationVisitorInterface::class)->getMock();
28 $context = $this->getMockBuilder(SerializationContext::class)->getMock();
43 $visitor = $this->getMockBuilder(SerializationVisitorInterface::class)->getMock();
46 $context = $this->getMockBuilder(SerializationContext::class)->getMock();
48 $factoryMock = $this->getMockBuilder(MetadataFactoryInterface::class)->getMock();
H A DFormErrorHandlerTest.php51 $navigator = $this->getMockBuilder(GraphNavigatorInterface::class)->getMock();
55 … $this->factory = $this->getMockBuilder('Symfony\Component\Form\FormFactoryInterface')->getMock();
148 …translator = $this->getMockBuilder('Symfony\Component\Translation\TranslatorInterface')->getMock();
160 …$this->getMockBuilder('Symfony\Component\Form\FormError')->disableOriginalConstructor()->getMock();
171 …translator = $this->getMockBuilder('Symfony\Component\Translation\TranslatorInterface')->getMock();
184 …$this->getMockBuilder('Symfony\Component\Form\FormError')->disableOriginalConstructor()->getMock();
195 …translator = $this->getMockBuilder('Symfony\Component\Translation\TranslatorInterface')->getMock();
207 …$this->getMockBuilder('Symfony\Component\Form\FormError')->disableOriginalConstructor()->getMock();
218 …translator = $this->getMockBuilder('Symfony\Component\Translation\TranslatorInterface')->getMock();
258 $form = $this->getMockBuilder('Symfony\Component\Form\Test\FormInterface')->getMock();
[all …]
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();
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/MockObject/Builder/
H A DInvocationMockerTest.php8 ->getMock();
21 ->getMock();
36 ->getMock();
51 ->getMock();
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
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/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/phpunit/phpunit-mock-objects/tests/MockObject/Matcher/
H A DConsecutiveParametersTest.php8 ->getMock();
25 ->getMock();
41 ->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/extensions/test/Twig/Tests/Extension/
H A DIntlTest.php21 $env = $this->getMockBuilder('Twig_Environment')->disableOriginalConstructor()->getMock();
33 $env = $this->getMockBuilder('Twig_Environment')->disableOriginalConstructor()->getMock();
H A DDateTest.php24 $this->env = new Twig_Environment($this->getMockBuilder('Twig_LoaderInterface')->getMock());
62 …translator = $this->getMockBuilder('Symfony\Component\Translation\TranslatorInterface')->getMock();
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Node/Expression/
H A DNameTest.php30 …$env = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['strict_…
31 …$env1 = new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(), ['strict…
/plugin/jplayer/vendor/symfony/process/Tests/
H A DProcessFailedExceptionTest.php27 …\Component\Process\Process')->setMethods(['isSuccessful'])->setConstructorArgs(['php'])->getMock();
51 …tExitCodeText', 'isOutputDisabled', 'getWorkingDirectory'])->setConstructorArgs([$cmd])->getMock();
99 …xt', 'getOutput', 'getErrorOutput', 'getWorkingDirectory'])->setConstructorArgs([$cmd])->getMock();

123