Mocking an interface that already extends Iterator should not be included when generating the mock.
Added another test to test against IteratorAggregate.
Added missing interface within the test
Move phpunit config
Merge pull request #212 from davedevelopment/move-phpunit-xml

Move phpunit config
Initial set of test cases for mocking protected methods
Allow mocking protected methods
Pass attribute in to scope for 5.3
More tests
Better checking for shouldReceive private/protected methods
Improved array output format from failed expectations
Arrays greater than 1000 characters in length truncated when cast to
string.
Unit test for array to string truncation.
Merge pull request #217 from WMeldon/array_expect_format

Improved array output format from failed expectations
Merge pull request #216 from davedevelopment/mocking-protected-methods

Mocking protected methods
Merge branch 'fix-mocking-interface-that-extends-iterator-should-not-implement-iterator' of github.com:srosato/mockery into srosato-fix-mocking-interface-that-extends-iterator-should-not-implement-iterator

Conflicts:
	tests/Mockery/ContainerTest.php
QuickDefs are now always byDefault
Merge pull request #210 from glenjamin/master

QuickDefs are now always byDefault
Add: Tests for multiple interfaces
Fix: class_exists() error when using stdclass with required interfaces

You could quite happily create a mock for a stdClass with required interfaces
however whenever you tried to enforce and requirements you'd be met with

    class_exists() expects parameter 1 to be string, array given

Example:

    $mock = Mockery::mock('stdClass, ArrayAccess');
    $mock->shouldReceive('foo')->once();
    $mock->foo();

Added new test to check for this exact situation, and fix to `Generator.php`.

In the two places causing error we're either checking for the array and
returning early before the error occurs, or joining the array on a comma to
display the fictional class name in the same format it's written in the
source.

This may or may not be correct as I'm not familiar with Mockery's source, but it doesn't appear to break any other tests.