/** * @covers Component\Remote\BurzeDzisNet\Storm::__construct */ public function test__construct() { $storm = new Storm(14, 80.72, 'NE', 10, 50); $this->assertSame(14, $storm->lightnings()); $this->assertSame('NE', $storm->direction()); $this->assertSame(80.72, $storm->distance()); $this->assertSame(10, $storm->period()); $this->assertSame(50, $storm->radius()); }