/// <summary>
 /// Initializes a new instance of the <see cref="GoogleHomeGraphService"/> class.
 /// </summary>
 /// <param name="messageHub">Message hub.</param>
 /// <param name="googleHomeGraphClient">Google Home Graph API client.</param>
 /// <param name="stateCache">State cache,</param>
 public GoogleHomeGraphService(
     IMessageHub messageHub,
     GoogleHomeGraphClient googleHomeGraphClient,
     StateCache stateCache)
 {
     _messageHub            = messageHub ?? throw new ArgumentNullException(nameof(messageHub));
     _googleHomeGraphClient = googleHomeGraphClient ?? throw new ArgumentNullException(nameof(googleHomeGraphClient));
     _stateCache            = stateCache ?? throw new ArgumentNullException(nameof(stateCache));
 }
        public async Task CanCallRequestSync()
        {
            // Only run if integration test requirements are present
            if (_agentUserId != "AGENT USER ID" && _serviceAccount.ProjectId != "PROJECT ID")
            {
                // Arrange
                var client = new GoogleHomeGraphClient(_loggerMock.Object, _httpClient, _serviceAccount, _agentUserId);

                // Act
                await client.RequestSyncAsync();

                // Assert
                _loggerMock.Verify(x => x.LogWarning(It.IsAny <string>()), Times.Never);
            }
        }