public function testMedianRunDataArraySinglestepForceMultistep()
 {
     $run = $this->getTestRunResults(1);
     $jsonGenerator = new JsonResultGenerator($this->testInfo, "", new FileHandler(), array(), true);
     $jsonGenerator->forceMultistepFormat(true);
     $result = $jsonGenerator->medianRunDataArray($run);
     $this->assertEquals("2", $result["run"]);
     $this->assertEquals("300", $result["TTFB"]);
     $this->assertEquals("6000", $result["loadTime"]);
     $this->assertFalse(array_key_exists("foo", $result));
     $this->assertFalse(array_key_exists("domains", $result));
     $this->assertFalse(array_key_exists("rawData", $result));
     $this->assertFalse(array_key_exists("pages", $result));
 }