keeganwitt / gmock

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

Refactor andStubReturn #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Refactor the andStubReturn to the preferred syntax:

def mock = mock()
mock.put("something").returns(true).stub()

Original issue reported on code.google.com by julien.g...@gmail.com on 11 Oct 2008 at 3:11

GoogleCodeExporter commented 9 years ago

Original comment by julien.g...@gmail.com on 11 Oct 2008 at 6:00

GoogleCodeExporter commented 9 years ago

Original comment by julien.g...@gmail.com on 12 Oct 2008 at 6:47