paulbutcher/ScalaMock — pull request #1 by Arakade (2011-12-02 17:55:17+00:00)
Title: toString needed for ProxyMockFunction

## Situation
When using Proxy mocking, expectation failures in Borachio used to show expectation failures as a list of "Expectations" and "Actual calls" with method/function **names**.
When doing this in ScalaMock, it shows as raw `Object.toString` output, e.g: `org.scalamock.ProxyMockFunction@73a34b`

## Investigation
Checking, I found `MockFunction` has `toString` and a test but `ProxyMockFunction` does not and is not test-covered.

## Fix
For starters, I've added a fix and a test to the existing `MockFunctionTest.scala`. I guess the ideal fix includes creating a `ProxyMockFunctionTest.scala` with this and all other tests from `MockFunctionTest.scala` (to ensure it is entirely predictable -- especially takes no regressions). Ok, *ideal* fix probably includes refactoring all common test code out of both ;-)

Hope this helps,
Rupert.

p.s. This is my first GitHub pull request so please feel free to offer advice / correct if I've done things wrong (e.g. I only noticed the advice about offering on branches *after* I pushed! Guess that would have been better?)