/**
  * @covers ilRoomSharingRoom::getAmountOfBookings
  */
 public function testGetAmountOfBookings()
 {
     $bookings = array(array('book_id' => 2, 'comment' => 'psss'), array('book_id' => 4, 'comment' => 'woohaa'));
     self::$DBMock->method("getCurrentBookingsForRoom")->willReturn($bookings);
     $this->assertEquals(2, self::$room->getAmountOfBookings());
 }