Is it possible to create a mock object that implements several interfaces with EasyMock?
For example, interface
Foo and interface
In Rhino Mocks you can provide multiple interfaces when creating a mock object, but EasyMock's
createMock() method only takes one type.
Is it possbile to achieve this with EasyMock, without resorting to the fallback of creating a temporary interface that extends both
Closeable, and then mocking that?