assertEquals(10, customerDataSource.getOtherVersion());
}
@Test
public void applyConfigurationWithDefaultValues() {
ConfiguredUsingDefaults configuredObject = new ConfiguredUsingDefaults();
configuration.on(configuredObject);
assertEquals("default-username", configuredObject.getStrangeUserName());
assertEquals("default-password", configuredObject.getPassword());
assertEquals("derby", configuredObject.getVendor());
assertEquals(new Integer(Integer.MIN_VALUE), configuredObject.getVersion());
}