Exemplo n.º 1
0
 /** @test */
 public function should_return_reminder_id_as_string()
 {
     $id = ReminderId::fromString('d16f9fe7-e947-460e-99f6-2d64d65f46bc');
     $this->assertEquals('d16f9fe7-e947-460e-99f6-2d64d65f46bc', $id->toString());
     $this->assertEquals('d16f9fe7-e947-460e-99f6-2d64d65f46bc', (string) $id);
 }
Exemplo n.º 2
0
 /**
  * Get the Reminder id
  *
  * @return ReminderId
  */
 public function id()
 {
     return ReminderId::fromString($this->id);
 }