public function testDateTimeValue() { $now = new \DateTime('now', new \DateTimeZone('UTC')); $this->claim->setValue($now); $this->assertSame($now->getTimestamp(), $this->claim->getValue()); }