示例#1
0
 public function testToArrayReturnsArray()
 {
     $entity = new EntityStub(['name' => 'Hello world']);
     $this->assertTrue(is_array($entity->toArray()));
 }