// marshal helper method to marshal a event into a []byte
marshal helper method to marshal a event into a []byte
// marshal helper method to marshal a event into a [] byte
func marshal(irEvent models.ReindexRequested) []byte {
	bytes, err := schema.ReindexRequestedEvent.Marshal(irEvent)
	So(err, ShouldBeNil)
	return bytes
}
func marshal ( irEvent models . ReindexRequested ) [ ] byte { bytes , err := schema . ReindexRequestedEvent . Marshal ( irEvent ) So ( err , ShouldBeNil ) return bytes }
marshal helper method to marshal a event into a []byte
marshal helper method to marshal a event into a [] byte