@Test
public void noDevicesAreCleanedWhenDuplicateAddressesAreAllowed() throws Exception {

    this.withConfigurationAllowingAllDuplicates();
    this.withHostAndInetAddress(IP_ADDRESS);
    this.deviceNetworkAddressCleanupService.clearDuplicateAddresses(DEVICE_IDENTIFICATION, this.host);
    verify(this.deviceRepository, never()).findByNetworkAddress(this.inetAddress);
    verify(this.deviceRepository, never()).save(any(Device.class));
}