#include #include #include namespace NYT::NYson { namespace { //////////////////////////////////////////////////////////////////////////////// TEST(TSharedRefTest, Save) { const TSharedRef expected = TSharedRef::FromString("My tests data"); TStringStream s; ::Save(&s, expected); // only Save supported for TSharedRef. You can ::Load serialized data to vector. } //////////////////////////////////////////////////////////////////////////////// } // namespace } // namespace NYT::NYson