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