+ if v, ok := d.GetOk("contact_id"); ok {
+ test.ContactID = v.(int)
+ }
+ if v, ok := d.GetOk("confirmations"); ok {
+ test.Confirmation = v.(int)
+ }
+ if v, ok := d.GetOk("port"); ok {
+ test.Port = v.(int)
+ }
+
+ defaultStatusCodes := "204, 205, 206, 303, 400, 401, 403, 404, 405, 406, " +
+ "408, 410, 413, 444, 429, 494, 495, 496, 499, 500, 501, 502, 503, " +
+ "504, 505, 506, 507, 508, 509, 510, 511, 521, 522, 523, 524, 520, " +
+ "598, 599"
+
+ test.StatusCodes = defaultStatusCodes
+