public function testValidDetection()
 {
     $this->environment = new Environment\AjaxEnvironment('XMLHttpRequest');
     $this->assertTrue($this->environment->supports());
     $this->assertEquals('Ajax', $this->environment->getName());
 }
 public function testValidDetection()
 {
     $this->assertTrue($this->environment->supports());
     $this->assertEquals('Browser', $this->environment->getName());
 }