@Test
public void updateHostPrivaceMacAddressTest() {

    HostVO host = Mockito.mock(HostVO.class);
    Mockito.doNothing().when(host).setPrivateMacAddress(Mockito.anyString());
    Mockito.when(host.getId()).thenReturn(0l);
    Mockito.doReturn(true).when(hostDao).update(Mockito.anyLong(), Mockito.any(HostVO.class));
    spy.updateHostPrivaceMacAddress(host, "privateMacAddress");
    Mockito.verify(host).setPrivateMacAddress(Mockito.anyString());
    Mockito.verify(host).getId();
    Mockito.verify(hostDao).update(Mockito.anyLong(), Mockito.any(HostVO.class));
}