# File lib/facon/expectation.rb, line 12 def initialize(error_generator, expectation_ordering, expected_from, method, method_block, expected_received_count = 1) @error_generator = error_generator @expectation_ordering = expectation_ordering @expected_from = expected_from @method = method @method_block = method_block @expected_received_count = expected_received_count @argument_expectation = :any @exception_to_raise = nil @symbol_to_throw = nil @actual_received_count = 0 @args_to_yield = [] end