@Test
public void test_updateConfigurationValuesThatReferenceBareMetal_whenThereAreNoConfigurationItems() throws Exception {

    when(dbConnection.prepareStatement(BareMetalRemovalUpdater.SELECT_CONFIGURATION_ITEMS)).thenReturn(preparedStatement);
    when(preparedStatement.executeQuery()).thenReturn(values);
    when(values.next()).thenReturn(false);
    bareMetalRemovalUpdater.updateConfigurationValuesThatReferenceBareMetal(dbConnection);
    verify(preparedStatement, never()).executeUpdate();
}