public function testAddsNewResourceType()
 {
     $name = 'name';
     $description = 'description';
     $this->page->expects($this->once())->method('GetName')->will($this->returnValue($name));
     $this->page->expects($this->once())->method('GetDescription')->will($this->returnValue($description));
     $type = ResourceType::CreateNew($name, $description);
     $this->resourceRepository->expects($this->once())->method('AddResourceType')->with($this->equalTo($type));
     $this->presenter->Add();
 }