// AnErrorMessageIsShown represents a BDD step
AnErrorMessageIsShown represents a BDD step
// AnErrorMessageIsShown represents a BDD step
func (j *JobsFeature) AnErrorMessageIsShownForJob() error {
	var errorMsg rest.ErrorMessage
	err := rest.ReadJSON(j.responseFindJobs.Body, &errorMsg)
	if errorMsg.Msg == "" {
		return errors.New("no error message")
	}
	return err
}
func ( j * JobsFeature ) AnErrorMessageIsShownForJob ( ) error { var errorMsg rest . ErrorMessage err := rest . ReadJSON ( j . responseFindJobs . Body , & errorMsg ) if errorMsg . Msg == " " { return errors . New ( " " ) } return err }
AnErrorMessageIsShown represents a BDD step
AnErrorMessageIsShown represents a BDD step