class Mocha::InStateOrderingConstraint

def allows_invocation_now?

def allows_invocation_now?
  @state_predicate.active?
end

def initialize(state_predicate)

def initialize(state_predicate)
  @state_predicate = state_predicate
end

def mocha_inspect

def mocha_inspect
  "when #{@state_predicate.mocha_inspect}"
end