protected function setUp()
 {
     parent::setUp();
     $this->presenter = new TestModelPresenter();
     $this->view = new MockModelPresenterView();
     $this->presenter->AttachMockView($this->view);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->presenter = new LoginPresenterUnitTest();
     $this->view = new UnitTestView();
     $this->presenter->AttachMockView($this->view);
     $this->presenter->Initialise();
 }
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     $user = new User();
     $user->Forename = "Alice";
     $user->Surname = "Smith";
     $user->Save();
     $user = new User();
     $user->Forename = "Bob";
     $user->Surname = "Diamond";
     $user->Save();
 }