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