1 | <?php |
||
17 | class FileTest extends \PHPUnit_Framework_TestCase |
||
18 | { |
||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $file = './tests/files/urls.txt'; |
||
23 | |||
24 | /** |
||
25 | * @covers \LazyEight\DiTesto\ValueObject\File::__construct |
||
26 | * @uses \LazyEight\DiTesto\ValueObject\File |
||
27 | * @return \LazyEight\DiTesto\ValueObject\File |
||
28 | */ |
||
29 | public function testCanBeCreated() |
||
37 | |||
38 | /** |
||
39 | * @covers \LazyEight\DiTesto\ValueObject\FileContent::getLocation |
||
40 | * @uses \LazyEight\DiTesto\ValueObject\File |
||
41 | * @depends testCanBeCreated |
||
42 | * @uses \LazyEight\DiTesto\ValueObject\File |
||
43 | * @param \LazyEight\DiTesto\ValueObject\File |
||
44 | */ |
||
45 | public function testLocationCanBeRetrieved(File $file) |
||
51 | |||
52 | /** |
||
53 | * @covers \LazyEight\DiTesto\ValueObject\FileContent::getLocation |
||
54 | * @uses \LazyEight\DiTesto\ValueObject\File |
||
55 | * @depends testCanBeCreated |
||
56 | * @uses \LazyEight\DiTesto\ValueObject\File |
||
57 | * @param \LazyEight\DiTesto\ValueObject\File |
||
58 | */ |
||
59 | public function testContentCanBeRetrieved(File $file) |
||
65 | } |
||
66 |