public function testDump() { $data = ['key' => 'value']; $container = new Container($data); $this->assertEquals($data, $container->dump()); $container = $container->set('something', 'some value'); $this->assertInstanceOf('TallTree\\Roots\\Tools\\Container', $container); $data['something'] = 'some value'; $this->assertEquals($data, $container->dump()); }
public function dump() { return $this->parameters->dump(); }