Home
last modified time | relevance | path

Searched refs:MockService (Results 1 – 2 of 2) sorted by relevance

/web-bugs/tests/Unit/Container/
H A DContainerTest.php18 $container->set(MockService::class, function (Container $container) {
19 $service = new MockService($container->get(MockDependency::class));
30 $service = $container->get(MockService::class);
31 $this->assertInstanceOf(MockService::class, $service);
54 $this->assertFalse($container->has(MockService::class));
82 $container->set(MockService::class, function (Container $container) {
83 return new MockService($container->get(MockService::class));
86 $container->set(MockService::class, function (Container $container) {
87 return new MockService($container->get(MockService::class));
93 $container->get(MockService::class);
H A DMockService.php8 class MockService class

Completed in 3 milliseconds