padraic/mockery — pull request #198 by srosato (2013-08-17 02:19:04+00:00)
Title: Mocking an interface that already extends Iterator should not be implemented

Hi there, I have found a use case that would trigger a PHP fatal error

```
PHP Fatal error: Cannot redeclare Mockery_520edc6f57a24::current()
```

When mocking an interface that extends the Iterator that error is thrown.

I have included a unit test and a fix to the code in order to fix this issue.