コード例 #1
0
 /**
  * Tests that getSubscribedEvents() returns an array.
  */
 public function testGetSubscribedEvents()
 {
     $plugin = new Plugin();
     $this->assertInternalType('array', $plugin->getSubscribedEvents());
 }
コード例 #2
0
 /**
  * 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());
 }