function testBind() { $base = new BaseClass(); $base->bind('event', 'test_callback'); $e = $base->getEvents(); $this->ok(count($e), 1, 'Bind event to callback'); }
function testBind() { $base = new BaseClass(); $base->bind('event', 'test_callback'); $e = $base->getEvents(); $this->ok(count($e), 1, 'Bind event to callback'); }