/**
  * @return array
  */
 public function getProvider()
 {
     $object = new TwitterResponseFixtures();
     return array(array('array' => $object->getFixtureArray(2), 'method' => 'text', 'expected' => $object->getFixtureExpectedArray(2)), array('array' => $object->getFixtureItemWithErrorArray(), 'method' => 'message', 'expected' => $object->getFixtureExpectedItemWithErrorArray()));
 }
Esempio n. 2
0
 /**
  * @return array
  */
 public function getProvider()
 {
     $fixtures = new TwitterResponseFixtures();
     return array(array('postsNumber' => 1, 'expected' => $fixtures->getFixtureExpectedArray(1)), array('postsNumber' => 5, 'expected' => $fixtures->getFixtureExpectedArray(5)), array('postsNumber' => 0, 'expected' => $fixtures->getFixtureExpectedArray(0)));
 }