I had
require_once dirname(__FILE__) . '\MyClass.php'; 
class test extends UnitTestCase {
 function test_pass(){
  $tc = new MyClass();
        $boolean = $tc->my_method() == "hello";
        $this->assertFalse($boolean);
 }
}
But when running, I kept getting:
PHP Fatal error:  Class 'MyClass' not found in ...test.php...[line number]
I finally found out through trial and error that to fix this fatal error I simply needed to replace the opening short tag with the full php tag <?php . That means I'm going to need to do this to all my class files. Might as well make that a best practice from now on.
