public function test_can_stop_timer() { $milliTimespanMock = new MilliTimespanMock(); $testCaseResult = new TestCaseResult($milliTimespanMock); $testCaseResult->startTestCase(); $testCaseResult->stopTestCase(); $elapsedTime = $testCaseResult->getExecutionTimeInMillisecs(); return $this->assertTrue($milliTimespanMock->_stopTimerCalled); }