/** * @covers ::getTimestamp * @covers ::setTimestamp */ public function testGetTimestamp() { $timestamp = mt_rand(); $this->assertSame($this->exchangeRate, $this->exchangeRate->setTimestamp($timestamp)); $this->assertSame($timestamp, $this->exchangeRate->getTimestamp()); }