@Test public void testPowerOff() { PowerClient client = new MockPowerClient(catsHost,null,null,null); try { client.powerOff(); } catch (PowerException e) { Assert.fail("power on threw exception " + e); } }
@Override public void powerOff() throws PowerException { performPowerOperation(PowerOperation.off); }
PowerClient extends DawgClient implements PowerInput, PowerOutput { @Override public void powerOff() throws PowerException { performPowerOperation(PowerOperation.off); } }
PowerClient extends DawgClient implements PowerInput, PowerOutput { @Override public void powerOff() throws PowerException { performPowerOperation(PowerOperation.off); } PowerClient(MetaStb stb);  PowerClient(String catsHost, String powerHost, String outlet, String powerType); }
PowerClient extends DawgClient implements PowerInput, PowerOutput { @Override public void powerOff() throws PowerException { performPowerOperation(PowerOperation.off); } PowerClient(MetaStb stb);  PowerClient(String catsHost, String powerHost, String outlet, String powerType); @Override void powerOn(); @Override void powerOff(); @Override void reboot(); void performPowerOperation(PowerOperation op); @Override boolean isPowerOn(); }
PowerClient extends DawgClient implements PowerInput, PowerOutput { @Override public void powerOff() throws PowerException { performPowerOperation(PowerOperation.off); } PowerClient(MetaStb stb);  PowerClient(String catsHost, String powerHost, String outlet, String powerType); @Override void powerOn(); @Override void powerOff(); @Override void reboot(); void performPowerOperation(PowerOperation op); @Override boolean isPowerOn(); static final String POWER_SERVICE; static final String REST; static final int DEFAULT_PORT; }