mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-11-04 11:17:58 +00: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