@Test public void testGetTraceClient() { MetaStb stb = new MetaStb(); stb.setMacAddress("00:00:41:B7:CD:52"); DawgClientFactory factory = new DawgClientFactory(stb,"",""); Assert.assertNotNull(factory.getSerialClient()); SerialClient expected = factory.getSerialClient(); Assert.assertNotEquals(factory.getSerialClient(), expected); }
@Override public SerialClient getSerialClient() { return new SerialClient(stb); }
DawgClientFactory implements IDawgClientFactory { @Override public SerialClient getSerialClient() { return new SerialClient(stb); } }
DawgClientFactory implements IDawgClientFactory { @Override public SerialClient getSerialClient() { return new SerialClient(stb); } DawgClientFactory(MetaStb metaStb);  DawgClientFactory(MetaStb metaStb, String dawgHouseHost, String dawgPoundHost); }
DawgClientFactory implements IDawgClientFactory { @Override public SerialClient getSerialClient() { return new SerialClient(stb); } DawgClientFactory(MetaStb metaStb);  DawgClientFactory(MetaStb metaStb, String dawgHouseHost, String dawgPoundHost); @Override IDawgHouseClient<?> getHouseClient(); @Override IDawgPoundClient getPoundClient(); @Override IrClient getIrClient(); @Override PowerClient getPowerClient(); @Override SerialClient getSerialClient(); String getDawgHouseHost(); void setDawgHouseHost(String dawgHouseHost); String getDawgPoundHost(); void setDawgPoundHost(String dawgPoundHost); }
DawgClientFactory implements IDawgClientFactory { @Override public SerialClient getSerialClient() { return new SerialClient(stb); } DawgClientFactory(MetaStb metaStb);  DawgClientFactory(MetaStb metaStb, String dawgHouseHost, String dawgPoundHost); @Override IDawgHouseClient<?> getHouseClient(); @Override IDawgPoundClient getPoundClient(); @Override IrClient getIrClient(); @Override PowerClient getPowerClient(); @Override SerialClient getSerialClient(); String getDawgHouseHost(); void setDawgHouseHost(String dawgHouseHost); String getDawgPoundHost(); void setDawgPoundHost(String dawgPoundHost);  }