ExampleWeatherTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testGetWeather() 0 7 1
1
<?php
2
3
namespace EVB\Weather;
4
5
use PHPUnit\Framework\TestCase;
6
7
/**
8
 * Test ExampleWeather for Weather.
9
 */
10
class ExampleWeatherTest extends TestCase
11
{
12
    /**
13
     * Test getWeather() method.
14
     */
15
    public function testGetWeather()
16
    {
17
        $data = "hurr durr";
18
19
        $sut = new ExampleWeather($data);
20
21
        $this->assertEquals($data, $sut->getWeather("does not", "matter"));
22
    }
23
}
24