public function testCanSetDefaultValues() { $client = new puzzle_Client(array('foo' => 'bar')); $client->setDefaultOption('headers/foo', 'bar'); $this->assertNull($client->getDefaultOption('foo')); $this->assertEquals('bar', $client->getDefaultOption('headers/foo')); }