Make mock_network_ a std::unique_ptr and create it in SetUp() instead of SetUpTestCase().