title: Unit testing C++ SetUp() and TearDown()
body: <p>I'm currently learning unit testing with <a href="https://github.com/google/googletest/tree/main/googlemock" rel="nofollow noreferrer">google mock</a> What is the usual use of <code>virtual void SetUp()</code> and <code>virtual void TearDown()</code> in the google mock? An example scenario with codes would be good.</p>