/** * @test * it should allow setting the test case to be used and forward calls to it */ public function it_should_allow_setting_the_test_case_to_be_used_and_forward_calls_to_it() { $testCase = new MockTestCase(); Test::setTestCase($testCase); $this->assertEquals(23, Test::utilityMethod(11, 12)); }