// TheNewNotifierIsNotListed represents a BDD step
TheNewNotifierIsNotListed represents a BDD step
// TheNewNotifierIsNotListed represents a BDD step
func (n *NotifiersFeature) TheNewNotifierIsNotListed() error {
	var response uc.FindNotifiersResponse
	err := rest.ReadJSON(n.responseFindNotifiers.Body, &response)
	if err != nil {
		return err
	}
	notifier := findNotifierByName(response, n.inputNotifier.Name)
	if notifier != nil {
		return errors.New("notifier was listed when it should not")
	}
	return nil
}
func ( n * NotifiersFeature ) TheNewNotifierIsNotListed ( ) error { var response uc . FindNotifiersResponse err := rest . ReadJSON ( n . responseFindNotifiers . Body , & response ) if err != nil { return err } notifier := findNotifierByName ( response , n . inputNotifier . Name ) if notifier != nil { return errors . New ( " " ) } return nil }
TheNewNotifierIsNotListed represents a BDD step
TheNewNotifierIsNotListed represents a BDD step