Module: FlexMock::Ordering

Module | FlexMock::Ordering
In: | lib/flexmock/deprecated_methods.rb lib/flexmock/ordering.rb

################################################################# The ordering module contains the methods and data structures used to determine proper orderring of mocked calls. By providing the functionality in a module, a individual mock object can order its own calls, and the container can provide ordering at a global level.

### Methods

flexmock_allocate_order flexmock_current_order flexmock_current_order= flexmock_groups flexmock_validate_order

### Public Instance methods

flexmock_allocate_order()

Allocate the next available order number.

flexmock_current_order()

Current order number in this ordering.

flexmock_current_order=(value)

Set the current order for this ordering.

flexmock_groups()

Hash of groups defined in this ordering.

flexmock_validate_order(method_name, order_number)

[Validate]