public function test_can_register_a_singleton_in_the_container() { $abstract = 'abstract'; $concrete = 'concrete'; $this->wrappedMock->shouldReceive('singleton')->with($abstract, $concrete)->once()->andReturn('resolved'); $this->container->singleton($abstract, $concrete); }