public function testCustomEvent() { $this->assertEqualAssociativeArrays(array('$type' => 'some_event', 'foo' => 'bar'), Event::customEvent('some_event', array('foo' => 'bar'))); }