protected void updateHost(MacAddress mac, VlanId vlan, Set<HostLocation> locations, Set<IpAddress> ips) {
        HostId hid = HostId.hostId(mac, vlan);
        HostDescription desc = new DefaultHostDescription(mac, vlan, locations, ips, true);
        providerService.hostDetected(hid, desc, true);
    }
@Test
    public void testUpdateHost() throws Exception {
        provider.updateHost(mac, vlan, locations, auxLocations, ips, innerVlan, outerTpid);
        assertThat(providerService.hostId, is(hostId));
        assertThat(providerService.hostDescription, is(hostDescription));
        assertThat(providerService.event, is("hostDetected"));
        providerService.clear();
    }