@Test
public void testDebugOneNumberArg() throws SQLException {

    // given
    Logger logger = mock(Logger.class);
    when(logger.isDebugEnabled()).thenReturn(true);
    // when
    DataSource.debug(logger, "select x from y where a = ?", 99);
    // then
    verify(logger, times(2)).isDebugEnabled();
    verify(logger).debug("{} [{}]", "select x from y where a = ?", "99");
    verifyNoMoreInteractions(logger);
}