/** * @covers ilRoomSharingRoom::getAttributeAmountById */ public function testGetAttributeAmountById() { self::assertEquals(3, self::$room->getAttributeAmountById(1)); self::assertEquals(1, self::$room->getAttributeAmountById(4)); self::assertEquals(2, self::$room->getAttributeAmountById(2)); }