/**
  * Returns an instance of Yepnope_Backend
  *
  * @return Yepnope_Backend $backend
  */
 public static function backend()
 {
     if (!self::$backend) {
         self::$backend = new Yepnope_Backend();
     }
     return self::$backend;
 }
 public function testSetters()
 {
     $backend = Yepnope::backend();
     Yepnope::set_yepnope('foo.js');
     Yepnope::set_automatically_evaluate(false);
     Yepnope::set_timeout(10000);
     $this->assertInstanceOf('Yepnope_Backend', $backend);
     $this->assertEquals('foo.js', $backend->get_yepnope());
     $this->assertFalse($backend->get_automatically_evaluate());
     $this->assertEquals(10000, $backend->get_timeout());
 }