@Test
void shouldLogWarnWithMessageAndThrowable()
{

    when( logger.isWarnEnabled() ).thenReturn( true );
    String message = "Hello";
    RuntimeException error = new RuntimeException( "World" );
    slf4jLogger.warn( message, error );
    verify( logger ).warn( message, error );
}