public async Task GetByIdAsync_ReturnSettingsModel_Correct() { var settingsModel = new SettingsModel { Theme = Theme.Dark, UserId = 1, Language = Language.English, UserModel = new UserModel() }; A.CallTo(() => _webClient.GetAsync <SettingsModel>(SettingsConfiguration.ApiUrls.Settings.GetById + "1")) .Returns(settingsModel); var expectedValue = await _settingsRepository.GetByUserIdAsync(1); AssertPropertyValue(expectedValue, settingsModel); }