summaryrefslogtreecommitdiffstats
path: root/messagebus/src/tests/emptyreply/emptyreply.cpp
blob: 3313a27d40526f5b9694b45f14052660ced95026 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2016 Yahoo Inc. 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();
}