With some static imports, this could boil down to:
```
Closeable closeable = createStrictMock(Closeable.class);
closeable.close();
expectLastCall(); // don't need times(1), see "If no call count is specified, one call is expected." in http://www.easymock.org/EasyMock3_0_Documentation.html
replay(closeable);
```