public function testSetSentState() { $this->entity->setState(Reminder::STATE_SENT); $this->assertEquals(Reminder::STATE_SENT, $this->entity->getState()); $this->assertInstanceOf('DateTime', $this->entity->getSentAt()); }