public async Task When_Pass_No_Parameter_Then_Error_Is_Returned() { var result = await _openidClients.AddClient(new Client(), "token").ConfigureAwait(false) as Option <Client> .Error; Assert.Equal(ErrorCodes.InvalidRedirectUri, result.Details.Title); }