| 1844 | void TearDown() override |
| 1845 | { |
| 1846 | foreach (const string& realm, realms) { |
| 1847 | // We need to wait in order to ensure that the operation |
| 1848 | // completes before we leave TearDown. Otherwise, we may |
| 1849 | // leak a mock object. |
| 1850 | AWAIT_READY(authentication::unsetAuthenticator(realm)); |
| 1851 | } |
| 1852 | realms.clear(); |
| 1853 | } |
| 1854 |
nothing calls this directly
no test coverage detected