public void TryGetValue() { IApiKeyService service = GetService(); string result; Assert.False(service.TryGetValue(_appId2, out result)); service.Add(_appId2, _secretKey2); bool success = service.TryGetValue(_appId2, out result); Assert.True(success); Assert.Equal(_secretKey2, result); }