Adapt to EasyMock's deprecation of 'new Capture()' Since EasyMock is changing their suggested API every now and then, we add a method to create Captures to MockingTestCase. Change-Id: Ic86531395fae8fb84df5cbb9748e4421baac103e