/*
   SPDX-FileCopyrightText: 2021-2023 Laurent Montel <montel@kde.org>

   SPDX-License-Identifier: LGPL-2.0-or-later
*/

#include "roomquotemessagewidgettest.h"
#include "room/roomquotemessagewidget.h"
#include <QTest>
QTEST_MAIN(RoomQuoteMessageWidgetTest)
RoomQuoteMessageWidgetTest::RoomQuoteMessageWidgetTest(QObject *parent)
    : QObject(parent)
{
}

void RoomQuoteMessageWidgetTest::shouldHaveDefaultValues()
{
    RoomQuoteMessageWidget w;
    QVERIFY(!w.isCloseButtonVisible());
    QCOMPARE(w.messageType(), KMessageWidget::Information);
    QVERIFY(w.wordWrap());
    QVERIFY(!w.isVisible());
}

#include "moc_roomquotemessagewidgettest.cpp"
