//System Includes //Project Includes #include #include //External Includes #include //System Namespaces //Project Namespaces using restbed::Bytes; using restbed::Response; //External Namespaces TEST_CASE( "validate default instance values", "[response]" ) { const Response response; REQUIRE( response.get_body( ).empty( ) ); } TEST_CASE( "validate setters modify default values", "[response]" ) { Bytes expectation = { 'a', 'b' }; Response response; response.set_body( expectation ); const auto body = response.get_body( ); REQUIRE( body == expectation ); }