ExampleWeatherTest::testGetWeather()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 7
rs 10
c 0
b 0
f 0
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