/** * Test that the event properties can be fetched as an array */ public function testCanGetAsArray() { $this->event->setType('event'); $this->assertTrue(is_array($this->event->toArray())); }