public function setUp()
 {
     /**
      * Create a new application object
      **/
     $this->application = new Application();
     $this->assertInstanceOf('clagiordano\\weblibs\\mvc\\Application', $this->application);
     $this->assertInstanceOf('clagiordano\\weblibs\\mvc\\Registry', $this->application->getRegistry());
     /**
      * Create and sets the router
      */
     $this->application->setRouter(new Router($this->application));
     $this->assertInstanceOf('clagiordano\\weblibs\\mvc\\Router', $this->application->getRouter());
     /**
      * set the path to the controllers directory
      */
     $this->application->getRouter()->setControllersPath(__DIR__ . '/../controllers');
     /**
      * load up the template
      */
     $this->application->setTemplate(new Template($this->application));
     $this->assertInstanceOf('clagiordano\\weblibs\\mvc\\Template', $this->application->getTemplate());
     $this->application->getRegistry()->testProperty = "TEST!";
 }