public static void TestGetCustomHostnamesByIdAsync(string id, int?page, int?perPage, CustomHostnameOrderType?type, OrderType?order, bool?ssl) { using var client = new CloudFlareClient(Credentials.Credentials.Authentication); var zoneId = client.GetZonesAsync().Result.Result.First().Id; var customHostnameId = client.GetCustomHostnamesByIdAsync(zoneId, id, page, perPage, type, order, ssl).Result.Result.First().Id; var customHostnameDetails = client.GetCustomHostnameDetailsAsync(zoneId, customHostnameId).Result; Assert.NotNull(customHostnameDetails); Assert.Empty(customHostnameDetails.Errors); Assert.True(customHostnameDetails.Success); }