public function test_cannot_get_a_service_that_was_not_bound() { $abstract = 'abstract'; $this->wrappedMock->shouldReceive('bound')->with($abstract)->once()->andReturn(false); $this->setExpectedException(ContainerException::class); $this->wrappedMock->shouldReceive('make')->with($abstract, [])->never(); $this->container->get($abstract); }