@Test
public void logsFailure() {

  IOException testException = new IOException("test exception message");
  try {
    doThrow(testException).when(socketMock).close();
  } catch (IOException e) {
    Assert.fail(e.getMessage());
  }
  testSubject.close(logTag);
  PowerMockito.verifyStatic(Logger.class);
  Logger.logVerbose(logTag, testException.toString());
}