assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); } } /** * @covers Sessions::getSessionUser * @todo Implement testgetSessionUser(). */ public function testgetSessionUser() { if (class_exists('Sessions')) { $methods = get_class_methods( 'Sessions'); $this->assertTrue( in_array( 'getSessionUser', $methods ), 'seems like this function is outside this class' ); } } /** * @covers Sessions::verifySession * @todo Implement testverifySession(). */ public function testverifySession() { if (class_exists('Sessions')) { $methods = get_class_methods( 'Sessions'); $this->assertTrue( in_array( 'verifySession', $methods ), 'seems like this function is outside this class' ); } } /** * @covers Sessions::registerGlobal * @todo Implement testregisterGlobal(). */ public function testregisterGlobal() { if (class_exists('Sessions')) { $methods = get_class_methods( 'Sessions'); $this->assertTrue( in_array( 'registerGlobal', $methods ), 'seems like this function is outside this class' ); } } /** * @covers Sessions::getGlobal * @todo Implement testgetGlobal(). */ public function testgetGlobal() { if (class_exists('Sessions')) { $methods = get_class_methods( 'Sessions'); $this->assertTrue( in_array( 'getGlobal', $methods ), 'seems like this function is outside this class' ); } } /** * @covers Sessions::getGlobals * @todo Implement testgetGlobals(). */ public function testgetGlobals() { if (class_exists('Sessions')) { $methods = get_class_methods( 'Sessions'); $this->assertTrue( in_array( 'getGlobals', $methods ), 'seems like this function is outside this class' ); } } /** * @covers Sessions::deleteTmpfile * @todo Implement testdeleteTmpfile(). */ public function testdeleteTmpfile() { if (class_exists('Sessions')) { $methods = get_class_methods( 'Sessions'); $this->assertTrue( in_array( 'deleteTmpfile', $methods ), 'seems like this function is outside this class' ); } } }