func bounded(lower, upper interface{}) types.GomegaMatcher { return gstruct.PointTo(And( BeNumerically(">=", lower), BeNumerically("<=", upper))) }
// Convenience functions for common matcher combinations. func ptrMatchAllFields(fields gstruct.Fields) types.GomegaMatcher { return gstruct.PointTo(gstruct.MatchAllFields(fields)) }