package network import ( "testing" "isle/toolkit" ) func TestCreate(t *testing.T) { toolkit.MarkIntegrationTest(t) var ( h = newIntegrationHarness(t) network = h.createNetwork(t, "primus", nil) ) gotCreationParams, err := network.GetNetworkCreationParams(h.ctx) if err != nil { t.Fatalf("calling GetNetworkCreationParams: %v", err) } else if network.creationParams != gotCreationParams { t.Fatalf( "expected CreationParams %+v, got %+v", network.creationParams, gotCreationParams, ) } }