<?php $duplicateFooInstance = $manager->instance('foo');
$duplicateBarInstance = $manager->instance('bar');
$this->assertEquals(spl_object_hash($fooInstance), spl_object_hash($duplicateFooInstance));
$this->assertEquals(spl_object_hash($barInstance), spl_object_hash($duplicateBarInstance));
}
public function test_unresolvable_instances_throw_errors()