### Question:
JobEventRdbConfiguration extends JobEventRdbIdentity implements JobEventConfiguration, Serializable { @Override public JobEventListener createJobEventListener() throws JobEventListenerConfigurationException { try { return new JobEventRdbListener(dataSource); } catch (final SQLException ex) { throw new JobEventListenerConfigurationException(ex); } }  @Override JobEventListener createJobEventListener();  }### Answer:
@Test public void assertCreateJobEventListenerSuccess() throws JobEventListenerConfigurationException { BasicDataSource dataSource = new BasicDataSource(); dataSource.setDriverClassName(org.h2.Driver.class.getName()); dataSource.setUrl("jdbc:h2:mem:job_event_storage"); dataSource.setUsername("sa"); dataSource.setPassword(""); Assert.assertThat(new JobEventRdbConfiguration(dataSource).createJobEventListener(), CoreMatchers.instanceOf(JobEventRdbListener.class)); }
@Test(expected = JobEventListenerConfigurationException.class) public void assertCreateJobEventListenerFailure() throws JobEventListenerConfigurationException { new JobEventRdbConfiguration(new BasicDataSource()).createJobEventListener(); }