Exemple #1
0
 /**
  * @dataProvider exampleUser
  */
 public function testAll($user)
 {
     Castle_RequestTransport::setResponse(200, array($user, $user));
     $users = TestUser::all();
     $this->assertRequest('get', '/users');
     $this->assertEquals($users[0]->id, $user['id']);
 }