@Test
public void testFocusHostForInvalidHost() {

  when(client.getHostNames()).thenReturn(singletonMap("host3", "HEALTHY"));
  String result = hostCommands.focusHost(new Host("host1"));
  verify(context, times(0)).setFocus("host1", FocusType.HOST);
  assertEquals("host1 is not a valid host name", result);
}