| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class CurlOptsTest extends TestCase |
||
| 15 | { |
||
| 16 | public function testOffsetExists() |
||
| 23 | } |
||
| 24 | |||
| 25 | public function testArrayAccess() |
||
| 26 | { |
||
| 27 | $opts = new CurlOpts([]); |
||
| 28 | |||
| 29 | $opts[CURLOPT_BINARYTRANSFER] = true; |
||
| 30 | |||
| 31 | $this->assertTrue($opts->get(CURLOPT_BINARYTRANSFER)); |
||
| 32 | |||
| 33 | unset($opts[CURLOPT_BINARYTRANSFER]); |
||
| 34 | |||
| 35 | $this->assertNull($opts->get(CURLOPT_BINARYTRANSFER)); |
||
| 36 | } |
||
| 37 | |||
| 38 | public function testArrayIterator() |
||
| 47 | } |
||
| 48 | } |
||
| 51 |