type TestCase … func (c TestCase) Run() error { … } // Creates a *spec.Schema Schema by decoding the given YAML. Panics on error func mustSchema(source string) *openapi.Schema { … } // Creates an *unstructured by decoding the given YAML. Panics on error func mustUnstructured(source string) interface{ … } func TestCorrelation(t *testing.T) { … }