Yes, should have mentioned this. I thought this was an error, since any IOException is silently ignored. If it were a test situation where an exception is expected, then I would expect the test fails, but it doesn't (and that didn't look like the intent either). Safer I think to not ignore exceptions in tests.