has207/flexmock — Issue #65: Enforcing call order doesn't work for spies 
Author: AlekSi
Created: 2012-02-08 11:16:15+00:00
State: open

Looks like should_call doesn't work with ordered. The following test passes,but it should not.

```python
class String(str):
pass

class OrderTestCase(unittest.TestCase):
def test_order(self):
s = String('abc')
flexmock(s)
s.should_call('startswith').once().ordered()
s.should_call('endswith').once().ordered()
s.endswith('c')
s.startswith('a')
```