| 104 | } |
| 105 | |
| 106 | void TearDown() override |
| 107 | { |
| 108 | foreach (const string& realm, realms) { |
| 109 | // We need to wait in order to ensure that the operation |
| 110 | // completes before we leave TearDown. Otherwise, we may |
| 111 | // leak a mock object. |
| 112 | AWAIT_READY(authentication::unsetAuthenticator(realm)); |
| 113 | } |
| 114 | realms.clear(); |
| 115 | } |
| 116 | |
| 117 | private: |
| 118 | hashset<string> realms; |
nothing calls this directly
no outgoing calls
no test coverage detected