private async Task GetAddressExpiredWebhookTest(AdminKey adminKey, IWebhookService getAddressExpiredWebhook) { var addResult = await getAddressExpiredWebhook.Add("https://enow375xiqy9k.x.pipedream.net/"); Assert.IsTrue(addResult.IsSuccess); var getResult = await getAddressExpiredWebhook.Get(addResult.SuccessfulResult.Id); Assert.IsTrue(getResult.IsSuccess); var listResult = await getAddressExpiredWebhook.List(); Assert.IsTrue(listResult.IsSuccess && listResult.SuccessfulResult.Webhooks.Any()); var testResult = await getAddressExpiredWebhook.Test(); Assert.IsTrue(testResult.IsSuccess); var removeResult = await getAddressExpiredWebhook.Remove(addResult.SuccessfulResult.Id); Assert.IsTrue(removeResult.IsSuccess); }