1 /*
2    SPDX-FileCopyrightText: 2019-2021 Laurent Montel <montel@kde.org>
3 
4    SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #include "undosendcreatejobtest.h"
8 #include "undosend/undosendcreatejob.h"
9 #include <QTest>
QTEST_MAIN(UndoSendCreateJobTest)10 QTEST_MAIN(UndoSendCreateJobTest)
11 
12 UndoSendCreateJobTest::UndoSendCreateJobTest(QObject *parent)
13     : QObject(parent)
14 {
15 }
16 
shouldHaveDefaultValues()17 void UndoSendCreateJobTest::shouldHaveDefaultValues()
18 {
19     UndoSendCreateJob job;
20     QCOMPARE(job.akonadiIndex(), -1);
21     QCOMPARE(job.delay(), -1);
22     QVERIFY(job.subject().isEmpty());
23 }
24