/**
  * @test
  */
 public function createReRunUrlEscapesAmpersands()
 {
     /** @var $test PHPUnit_Framework_TestCase|PHPUnit_Framework_TestSuite */
     $test = $this->getMock('PHPUnit_Framework_TestCase', array(), array('myTest'));
     $this->fixture->setTestSuiteName('myTestCase');
     $this->assertContains('&', $this->fixture->createReRunUrl($test));
 }
Beispiel #2
0
 /**
  * @test
  */
 public function createReRunUrlEscapesAmpersands()
 {
     /** @var \PHPUnit_Framework_TestCase|\PHPUnit_Framework_TestSuite $test */
     $test = $this->getMock('PHPUnit_Framework_TestCase', array(), array('myTest'));
     $this->subject->setTestSuiteName('myTestCase');
     self::assertContains('&', $this->subject->createReRunUrl($test));
 }