/** * Test description. * * @return void */ public function testGetTestStatusShared() { $test_case = m::mock(self::TEST_CASE_CLASS); $test_result = m::mock('\\PHPUnit_Framework_TestResult'); $test_result->shouldReceive('wasSuccessful')->once()->andReturn(true); $this->browser->setSessionStrategy(ISessionStrategyFactory::TYPE_SHARED); $this->assertTrue($this->browser->getTestStatus($test_case, $test_result)); }