Unit Test
Coverage: 100.0% (2 of 2 items OK)
[OK] GoogleTest Test MyUnitTest:ConfigureAndGet
- Given:
a default-constructed MyUnit instance
- When:
When configure is called with a key that hasn’t been configured yet
- Then:
get returns the configured value
Derived from:
Source: src/my_unit_test.cpp:18
[OK] GoogleTest Test MyUnitTest:MissingKeyReturnsEmpty
- Given:
a default-constructed MyUnit instance
- When:
When get is called with a key that hasn’t been configured yet
- Then:
get returns an empty value
Derived from:
Source: src/my_unit_test.cpp:35