janmarek/mockista — pull request #16 by jasir (2014-02-15 02:20:13+00:00)
Title: Registry - ability create and retrieve named mocks.

You can now create named mocks/builders to later retrieval in tests methods to fine-tune them.
Idea taken from: http://www.zdrojak.cz/clanky/knihovna-testit-phpunit/

For creating named mocks, two methods ara available: createNamed('name', ...) and createNamedBuilder('name', ....).

For retrieving named mocks in tests methods, you have two new methods getMock('name') and getBuilder('name')