@Test
public void disableAndShutdownHostTest() throws Exception {

    Mockito.doNothing().when(host).disable(conn);
    Mockito.doNothing().when(host).shutdown(conn);
    xenHypervisor.disableAndShutdownHost(conn, host);
    InOrder inOrder = Mockito.inOrder(host);
    inOrder.verify(host).disable(Mockito.any(Connection.class));
    inOrder.verify(host).shutdown(Mockito.any(Connection.class));
}