public function testDIMultiInstance()
 {
     $key1 = 'hello';
     $value1 = new \stdClass();
     $key2 = 'Night';
     $value2 = new \stdClass();
     //register key1 in first instance, key2 in second instance
     $this->illuminate->offsetSet($key1, $value1);
     $illuminate = new IlluminateContainer();
     $illuminate->offsetSet($key2, $value2);
     $adapter = new IlluminateAdapter($illuminate);
     $this->container->provider($adapter);
     $this->assertEquals($value1, $this->container->get($key1));
     $this->assertEquals($value2, $this->container->get($key2));
 }
 public function it_should_able_to_set_value_to_container(Container $container)
 {
     $container->offsetSet('Test', 'Test')->shouldBeCalled();
     $this->offsetSet('Test', 'Test');
 }