public function testConstruct() { $subject = new Context(array('timeout' => 300)); $this->assertTrue(300, $subject->timeout()); $subject->close(); unset($subject); }
public function testClose() { $stream = new Context($this->_testConfig); $this->assertEqual(true, $stream->close()); }