packagenginximport("context""net/http""testing")funcTestIntegrationNginxLatestReturn(t*testing.T){iftesting.Short(){t.Skip("skipping integration test")}ctx:=context.Background()nginxC,err:=startContainer(ctx)iferr!=nil{t.Fatal(err)}// Clean up the container after the test is completet.Cleanup(func(){iferr:=nginxC.Terminate(ctx);err!=nil{t.Fatalf("failed to terminate container: %s",err)}})resp,err:=http.Get(nginxC.URI)iferr!=nil{t.Fatal(err)}ifresp.StatusCode!=http.StatusOK{t.Fatalf("Expected status code %d. Got %d.",http.StatusOK,resp.StatusCode)}}