/** * Tests that getSubscribedEvents() returns an array. */ public function testGetSubscribedEvents() { $plugin = new Plugin(); $this->assertInternalType('array', $plugin->getSubscribedEvents()); }
/** * Tests that getSubscribedEvents() returns an array. */ public function testGetSubscribedEvents() { $config = array('consumer_key' => 'KEY', 'consumer_secret' => 'SECRET', 'token' => 'TOKEN', 'token_secret' => 'TOKEN_SECRET'); $plugin = new Plugin($config); $this->assertInternalType('array', $plugin->getSubscribedEvents()); }