| 1 | <?php |
||
| 9 | class ItemTest extends TestCase |
||
| 10 | {
|
||
| 11 | public function testInstantiation() |
||
| 16 | |||
| 17 | |||
| 18 | public function testArrayRepresentation() |
||
| 30 | |||
| 31 | |||
| 32 | public function testToString() |
||
| 38 | |||
| 39 | |||
| 40 | /** |
||
| 41 | * @expectedException InvalidArgumentException |
||
| 42 | * @expectedExceptionMessage Invalid URL given: |
||
| 43 | */ |
||
| 44 | public function testInvalidUrl() |
||
| 49 | |||
| 50 | |||
| 51 | /** |
||
| 52 | * @expectedException InvalidArgumentException |
||
| 53 | * @expectedExceptionMessage Invalid search result item property |
||
| 54 | */ |
||
| 55 | public function testInvalidProperty() |
||
| 59 | } |
||
| 60 |