public function testInitializesReservationData()
 {
     $scheduleId = 1;
     $this->page->expects($this->once())->method('GetRequestedScheduleId')->will($this->returnValue($scheduleId));
     $this->page->expects($this->once())->method('SetScheduleId')->with($this->equalTo($scheduleId));
     $this->page->expects($this->once())->method('SetCustomAttributes')->with($this->anything());
     $this->userBinder->expects($this->once())->method('Bind')->with($this->equalTo($this->initializer));
     $this->dateBinder->expects($this->once())->method('Bind')->with($this->equalTo($this->initializer));
     $this->resourceBinder->expects($this->once())->method('Bind')->with($this->equalTo($this->initializer));
     $this->attributeBinder->expects($this->once())->method('Bind')->with($this->equalTo($this->initializer));
     $this->initializer->Initialize();
 }
 protected function BindAttributes()
 {
     $this->attributeBinder->Bind($this);
     $this->basePage->SetCustomAttributes($this->customAttributes);
 }