Searched refs:MockService (Results 1 – 2 of 2) sorted by relevance
18 $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);
8 class MockService class
Completed in 3 milliseconds