# File lib/chef_zero/endpoints/dummy_endpoint.rb, line 9
      def get(request)

        # this could be made less brittle, but if things change to have more than 3 cycles, we should really
        # be notified by a spec failure.
        @mock_values ||= ([0, 1, 0] * 3).map { |val| make_response(val) }

        retval = @mock_values.shift
        json_response(200, retval)
      end