Total Complexity | 6 |
Total Lines | 60 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class SiteTest extends TestCase |
||
14 | { |
||
15 | /** |
||
16 | * Return details |
||
17 | * |
||
18 | * @test |
||
19 | */ |
||
20 | public function should_return_site_details() |
||
21 | { |
||
22 | $this->assertInstanceOf('Illuminate\Support\Collection', SolarEdge::details()); |
||
|
|||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Return energy - ASC |
||
27 | * |
||
28 | * @test |
||
29 | */ |
||
30 | public function should_return_site_energy_ascending() |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * Return energy DESC |
||
37 | * |
||
38 | * @test |
||
39 | */ |
||
40 | public function should_return_site_energy_descending() |
||
41 | { |
||
42 | $this->assertInstanceOf('Illuminate\Support\Collection', SolarEdge::energy(7, 'desc')); |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * Return power - ASC |
||
47 | * |
||
48 | * @test |
||
49 | */ |
||
50 | public function should_return_site_power_ascending() |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * Return power - DESC |
||
57 | * |
||
58 | * @test |
||
59 | */ |
||
60 | public function should_return_site_power_descending() |
||
61 | { |
||
62 | $this->assertInstanceOf('Illuminate\Support\Collection', SolarEdge::power(7, 'desc')); |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * Return overview |
||
67 | * |
||
68 | * @test |
||
69 | */ |
||
70 | public function should_return_site_overview() |
||
73 | } |
||
74 | } |