/** * @covers Runalyze\Data\Weather\Condition::completeList * @covers Runalyze\Data\Weather\Condition::set * @covers Runalyze\Data\Weather\Condition::id * @covers Runalyze\Data\Weather\Condition::icon * @covers Runalyze\Data\Weather\Condition::string */ public function testConditions() { foreach (Condition::completeList() as $id) { $this->object->set($id); $this->assertEquals($id, $this->object->id()); $this->assertInstanceOf('\\Runalyze\\View\\Icon', $this->object->icon()); $this->assertNotEmpty($this->object->string()); } }