Krzysztof Kosiński 5197b1a8e6 Modify example in the primer to match Testing FAQ.
The CtorVsSetUp section of the FAQ says that constructors and destructors should be preferred over SetUp() and TearDown(), because they will automatically chain up to the fixture's base class, whereas for methods the user must remember to add the chaining manually.

PiperOrigin-RevId: 624273474
Change-Id: Ida41aae193d417eaf996587c7ae1a0099a8cab32
2024-04-12 13:19:21 -07:00
..
2021-06-02 17:55:09 -04:00
2021-05-25 13:34:39 -04:00
2021-02-19 13:55:48 -05:00
2021-02-19 13:55:48 -05:00
2023-09-14 10:37:04 -07:00
2021-02-26 17:58:04 -05:00
2023-06-19 11:21:44 -06:00