function testIncludeFile() { $my_included_file = new File("/" . FRAMEWORK_CORE_PATH . "tests/io/include_test/include_me.php.inc"); $this->assertEqual(StaticTestDumpRegistry::$my_var, 1, "La variabile e' stata modificata!!"); $my_included_file->includeFile(); $this->assertEqual(StaticTestDumpRegistry::$my_var, 2, "La variabile non e' stata incrementata!!"); $my_included_file->includeFile(); $this->assertEqual(StaticTestDumpRegistry::$my_var, 3, "La variabile non e' stata incrementata!!"); }