@Test
public void shouldLogErrorMessage() {

  // When:
  logger.error(msg);
  // Then:
  verify(innerLogger, times(1)).error(eq(LOG_MSG), captor.capture());
  assertThat(captor.getValue().getMessage(), is(msg));
}