255414825a
moved to a function callsTo(), and when() is renamed whenThereAre(), so we write m.whenThereAre(callsTo(...)). Verification is moved out of Mock; Mock just returns the matching log, and LogEntrySet verify() is used instead. Added the ability to proxy calls, so we can create spys. Added the ability to verify return values. Added some tests. Review URL: https://chromiumcodereview.appspot.com//10718002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9212 260f80e4-7a28-3924-810f-c04153c831b5