public function testTimestamp() { $timestamp = new \DateTime(); $paste = new Paste(); $paste->setTimestamp($timestamp); $this->assertEquals($timestamp, $paste->getTimestamp()); }