public function __construct() { $this->users = getJSON('users.php'); $this->actives = getJSON('active.php'); }
/** * Tests User->__construct() */ public function test__construct() { $this->User->__construct(); if (get_class($this->User) != 'User') { $this->fail(); } }