Total Complexity | 4 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class StatsDTOTest extends TestCase |
||
21 | { |
||
22 | /** |
||
23 | * @var StatsDTO |
||
24 | */ |
||
25 | private $statsDTO; |
||
26 | |||
27 | /** |
||
28 | * @return void |
||
29 | */ |
||
30 | protected function setUp() |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @test |
||
37 | */ |
||
38 | public function testMileage() |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * @test |
||
48 | */ |
||
49 | public function testPrice() |
||
50 | { |
||
51 | $this->statsDTO->setAveragePrice(65489.21); |
||
52 | $expectedPrice = 65489.21; |
||
53 | |||
54 | $this->assertEquals($expectedPrice, $this->statsDTO->getAveragePrice()); |
||
55 | } |
||
56 | |||
57 | /** |
||
58 | * @test |
||
59 | */ |
||
60 | public function testYear() |
||
66 | } |
||
67 | } |
||
68 |