aboutsummaryrefslogtreecommitdiffstats
path: root/messagebus/src/tests/emptyreply/emptyreply.cpp
blob: f8eb341c9d484f8fe5fa8d1bab9d01e934ecc0f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/messagebus/emptyreply.h>

using namespace mbus;

TEST_SETUP(Test);

int
Test::Main()
{
    TEST_INIT("emptyreply_test");
    Reply::UP empty(new EmptyReply());
    EXPECT_TRUE(empty->isReply());
    EXPECT_TRUE(empty->getProtocol() == "");
    EXPECT_TRUE(empty->getType() == 0);
    TEST_DONE();
}