# Functions
Compare is a wrapper around gomega.Expect().To(Equal()) and compares actualYAML and expectedYAML; It also provides a verbose message when things don't match with a tip on how to fix things.
LoadExpectedEnvoyYAML loads the expectation for a given test from the file system.
MarshalAndSaveToFile converts a generic Go struct into YAML and saves it to a file.
MarshalXdsStructAndSaveToFile converts a an xDS struct into YAML and saves it to a file.
ThisXdsClusterFunction runs the given function in a ginkgo.Context(), marshals the output and compares to an expectation loaded from file.
ThisXdsListenerFunction runs the given function in a ginkgo.Context(), marshals the output and compares to an expectation loaded from file.