cURL\Tests\OptionsTest::testIntelligentSet PHP Method

testIntelligentSet() public method

public testIntelligentSet ( )
    public function testIntelligentSet()
    {
        $opts = new Options();
        $opts->setTimeout(123);
        $opts->setUserAgent('browser');
        $e = null;
        try {
            $opts->setUserAgentt('browser');
        } catch (Exception $e) {
        }
        $this->assertInstanceOf('cURL\\Exception', $e);
        $this->assertsForSet($opts);
    }