@Test
public void consultarTest() {

    String macTest = "mac teste";
    String returnExpected = "ok";
    Mockito.doReturn(returnExpected).when(startHostService).startHost(Mockito.anyString());
    String returnOfCommand = wakeOnLanServiceEndPoint.startHost(macTest);
    Assert.assertEquals(returnExpected, returnOfCommand);
    Mockito.verify(startHostService).startHost(macTest);
}