/**
  * @covers ilRoomSharingRoom::delete
  */
 public function testDelete()
 {
     self::$DBMock->expects($this->once())->method('deleteRoom')->with($this->equalTo(1));
     self::$DBMock->expects($this->once())->method('deleteAllAttributesForRoom')->with($this->equalTo(1));
     self::$DBMock->expects($this->once())->method('deleteAllBookingsAssignedToRoom')->with($this->equalTo(1));
     self::$room->delete();
 }