// AnErrorMessageIsShownForNotifier represents a BDD step
AnErrorMessageIsShownForNotifier represents a BDD step
// AnErrorMessageIsShownForNotifier represents a BDD step
func (n *NotifiersFeature) AnErrorMessageIsShownForNotifier() error {
	var errorMsg rest.ErrorMessage
	err := rest.ReadJSON(n.responseFindNotifiers.Body, &errorMsg)
	if errorMsg.Msg == "" {
		return errors.New("no error message")
	}
	return err
}
func ( n * NotifiersFeature ) AnErrorMessageIsShownForNotifier ( ) error { var errorMsg rest . ErrorMessage err := rest . ReadJSON ( n . responseFindNotifiers . Body , & errorMsg ) if errorMsg . Msg == " " { return errors . New ( " " ) } return err }
AnErrorMessageIsShownForNotifier represents a BDD step
AnErrorMessageIsShownForNotifier represents a BDD step