func (m *Job) Warnings() [][]byte {
	return m.GearmanWarnings
}
Warnings returns the array of jobs warnings
package mock
import "bytes"
type Job struct {
	Payload, Name, GearmanHandle, ID string
	GearmanErr                       error
	GearmanWarnings                  [][]byte
	DataBuffer                       bytes.Buffer
	Numerator, Denominator           int
}
func CreateMockJob(payload string) *Job {
	return &Job{Payload: payload}
}
func (m Job) Data() []byte {
	return []byte(m.Payload)
}
func (m Job) OutData() []byte {
	return m.DataBuffer.Bytes()
}
func (m Job) Fn() string {
	return m.Name
}
func (m Job) Err() error {
	return m.GearmanErr
}
func (m Job) Handle() string {
	return m.GearmanHandle
}
func (m Job) UniqueId() string {
	return m.ID
}