| 1842 | } |
| 1843 | |
| 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 | |
| 1855 | private: |
| 1856 | hashset<string> realms; |
nothing calls this directly
no outgoing calls
no test coverage detected