  @Test
  public void shouldNotGetMessageIfLoggerDisabledForError() {

    // Given:
    when(innerLogger.isErrorEnabled()).thenReturn(false);

    // When:
    logger.error(msgSupplier);

    // Then:
    verify(innerLogger).isErrorEnabled();
    verifyNoMoreInteractions(innerLogger, msgSupplier);
  }