public void TestCreateHttpTask() { var Url = $"https://{ProjectId}.appspot.com/log_payload"; var snippet = new CreateHttpTask(); Assert.Contains( $"projects/{ProjectId}/locations/{LocationId}/queues/{QueueId}/tasks/", snippet.CreateTask(ProjectId, LocationId, QueueId, Url, "Test")); }
public void TestCreateHttpTask() { var Url = $"https://example.com/taskhandler"; var snippet = new CreateHttpTask(); Assert.Contains( $"projects/{ProjectId}/locations/{LocationId}/queues/{QueueId}/tasks/", snippet.CreateTask(ProjectId, LocationId, QueueId, Url, "Test")); }