Ejemplo n.º 1
0
 public function test_can_register_an_alias_in_the_container()
 {
     $abstract = 'abstract';
     $concrete = 'concrete';
     $this->wrappedMock->shouldReceive('alias')->with($abstract, $concrete)->once()->andReturn('resolved');
     $this->container->alias($abstract, $concrete);
 }