public function testReading() { $reading = new Reading('key', 'value', 'date'); $this->assertSame('key', $reading->getKey()); $this->assertSame('key', $reading->getName()); $this->assertSame('value', $reading->getValue()); $this->assertSame('date', $reading->getDate()); }