Generated methods returns variable, fixes strict error "Only variable references should be returned by reference"
Generates method __destruct() if needed (when it is declared in mocked object)
Merge pull request #1 from jasir/fixes

Fixes
Mock::$mockName added
Method::$name and Method::$owningBlock added
Calling assertions better messages containing name of mock and called method.

Example of new message:
Expected method unnamed::abc() should be called no more than twice but called 3 times.
Merge pull request #2 from jasir/fixes

Mock and mocked Methods has names now. Better messages when call assertions are not met.
added Travis CI
Add dev require of phpunit
Merge pull request #7 from jsifalda/dependencies

Add phpunit into dev dependencies
improved unique class name generation for mocked classes (closes #12)

MockBuilder::createMock uses mt_rand function instead of uniqid. Uniqid could have problems with its result uniqueness.
Merge pull request #13 from BigCharlie/master

improved unique class name generation for mocked classes (closes #12)
typehint for array in generated classes is 'array', not 'Array'
__call method respects typehint [Closes #10]
Registry - ability create and retrieve named mocks.

there are two new methods to create Named mocks for later retrieval:
createNamed() and createNamedBuilder().

there are two new method to retrieve named mocks or builders

getMock($name) and getBuilder($name)
Merge branch 'bug#10' into mymaster

* bug#10:
  __call method respects typehint [Closes #10]
  typehint for array in generated classes is 'array', not 'Array'
Merge branch 'feature/mockregistry' into mymaster

* feature/mockregistry:
  Registry - ability create and retrieve named mocks.