USING_HAMCREST_NS USING_MAGELLAN_NS FIXTURE(XmlNodeTest) { XmlNode node {"person"}; void expectXml(const std::string& expected) { ASSERT_THAT(node.toXml(), is(expected)); }
USING_MAGELLAN_NS USING_HAMCREST_NS FIXTURE(XmlBuilderTest) { XmlNode node {"bookstore"}; XmlBuilder builder {&node}; void expectXml(const std::string& expected) { ASSERT_THAT(node.toXml(), is(expected)); }