/**
  * @covers ilRoomSharingFloorPlans::getAllFloorPlans
  */
 public function testGetAllFloorPlans()
 {
     $allFloorPlans = self::$floorPlans->getAllFloorPlans();
     self::assertEquals(2, count($allFloorPlans));
     self::assertContains(array('file_id' => 230, 'title' => 'Green plan'), $allFloorPlans);
     self::assertContains(array('file_id' => 234, 'title' => 'Red plan'), $allFloorPlans);
 }
 /**
  * Retrieves the data that should be populated into the table.
  */
 private function getItems()
 {
     $floorplans = new ilRoomSharingFloorPlans($this->pool_id, new ilRoomsharingDatabase($this->pool_id));
     $data = $floorplans->getAllFloorPlans($this->pool_id);
     $this->setMaxCount(count($data));
     $this->setData($data);
 }