// ExecutionIsListed contains BDD steps related to executions feature
ExecutionIsListed contains BDD steps related to executions feature
// ExecutionIsListed contains BDD steps related to executions feature
func (e *ExecutionsFeature) ExecutionIsListed(arg1 int) error {
	var findExecutionsResponse uc.FindExecutionsResponse
	err := rest.ReadJSON(e.response.Body, &findExecutionsResponse)
	if err != nil {
		return err
	}
	if len(findExecutionsResponse.Executions) != 1 {
		return errors.New("execution not listed when it should")
	}
	return nil
}
func ( e * ExecutionsFeature ) ExecutionIsListed ( arg1 int ) error { var findExecutionsResponse uc . FindExecutionsResponse err := rest . ReadJSON ( e . response . Body , & findExecutionsResponse ) if err != nil { return err } if len ( findExecutionsResponse . Executions ) != 1 { return errors . New ( " " ) } return nil }
ExecutionIsListed contains BDD steps related to executions feature
ExecutionIsListed contains BDD steps related to executions feature