keeganwitt / gmock

Automatically exported from code.google.com/p/gmock
6 stars 2 forks source link

Support for 'with' closure #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Support for a with closure like:

def mock = mock()
with(mock) {
 methodA().returns(1)
}

Original issue reported on code.google.com by julien.g...@gmail.com on 3 Feb 2009 at 6:47

GoogleCodeExporter commented 9 years ago
I would like to move this issue to current release as it is not difficult to 
implement.

Original comment by JohnnyJianHY on 4 Feb 2009 at 3:03

GoogleCodeExporter commented 9 years ago

Original comment by julien.g...@gmail.com on 4 Feb 2009 at 7:35

GoogleCodeExporter commented 9 years ago

Original comment by JohnnyJianHY on 4 Feb 2009 at 7:40

GoogleCodeExporter commented 9 years ago

Original comment by julien.g...@gmail.com on 6 Feb 2009 at 12:20

GoogleCodeExporter commented 9 years ago

Original comment by julien.g...@gmail.com on 6 Feb 2009 at 9:28