// MatchStage is a gomega matcher for a stage, matching name, message and phase
MatchStage is a gomega matcher for a stage, matching name, message and phase
// MatchStage is a gomega matcher for a stage matching name message and phase
func MatchStage(expected syncv1alpha1.StageStatus) gomegatypes.GomegaMatcher {
	return gstruct.MatchFields(gstruct.IgnoreExtras, gstruct.Fields{
		"Name":    Equal(expected.Name),
		"Message": Equal(expected.Message),
		"Phase":   Equal(expected.Phase),
	})
}
func MatchStage ( expected syncv1alpha1 . StageStatus ) gomegatypes . GomegaMatcher { return gstruct . MatchFields ( gstruct . IgnoreExtras , gstruct . Fields { " " : Equal ( expected . Name ) , " " : Equal ( expected . Message ) , " " : Equal ( expected . Phase ) , } ) }
MatchStage is a gomega matcher for a stage, matching name, message and phase
MatchStage is a gomega matcher for a stage matching name message and phase