public function testConnectionSetPersistentReturnsProperValue()
 {
     $connectionHeader = new Connection();
     $connectionHeader->setPersistent(true);
     $this->assertEquals('keep-alive', $connectionHeader->getFieldValue());
     $connectionHeader->setPersistent(false);
     $this->assertEquals('close', $connectionHeader->getFieldValue());
 }
Exemple #2
0
    public function testConnectionGetFieldValueReturnsProperValue()
    {
        $this->markTestIncomplete('Connection needs to be completed');

        $connectionHeader = new Connection();
        $this->assertEquals('xxx', $connectionHeader->getFieldValue());
    }