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