Exemplo n.º 1
0
 public function testInterfacesCanHaveAssertions()
 {
     \Mockery::setContainer($this->container);
     $m = $this->container->mock('stdClass, ArrayAccess, Countable, Traversable');
     $m->shouldReceive('foo')->once();
     $m->foo();
     $this->container->mockery_verify();
     \Mockery::resetContainer();
 }