mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Implemented test and interface for toString entity toString method
This commit is contained in:
@@ -39,4 +39,9 @@ class AbstractEntityTest extends TestCase
|
||||
$this->assertNull($this->entity->setId($id));
|
||||
$this->assertEquals($id, $this->entity->getId());
|
||||
}
|
||||
|
||||
public function testToString(): void
|
||||
{
|
||||
$this->assertEquals(true, is_string($this->entity->__toString()));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user