/* * Copyright (c) 2017 Tarun Gupta * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #include #include using namespace Swift; TEST(MIXCreateSerializerTest, XEP0369_Example31) { MIXCreateSerializer testling; auto create = std::make_shared(); std::string expectedResult = ""; ASSERT_EQ(expectedResult, testling.serialize(create)); } TEST(MIXCreateSerializerTest, XEP0369_Example66) { MIXCreateSerializer testling; auto create = std::make_shared(); create->setChannel(std::string("coven")); std::string expectedResult = ""; ASSERT_EQ(expectedResult, testling.serialize(create)); }