/** * tests the bar function */ public function testFoo() { $this->assertEquals("foo", MyMavenTestClass::getFoo()); }
/** * tests the bar function */ public function testFoo() { include "MyClass.php"; $o = new MyMavenTestClass(); $this->assertEquals("foo", $o->getFoo()); }
/** * tests the bar function */ public function testFoo() { include "MyClass.php"; $this->assertEquals("bar", MyMavenTestClass::getFoo()); }
/** * tests the bar function */ public function testFoo() { include __DIR__ . "/MyClass.php"; $this->assertEquals("foo", MyMavenTestClass::getFoo()); }