### Question:
ChannelPool implements ISOChannel, LogSource, Configurable, Cloneable { public int size() { return pool.size(); } ChannelPool(); void setPackager(ISOPackager p); synchronized void connect(); synchronized void disconnect(); synchronized void reconnect(); synchronized boolean isConnected(); ISOMsg receive(); void send(ISOMsg m); void send(byte[] b); void setUsable(boolean b); void setName(String name); String getName(); ISOPackager getPackager(); void setLogger(Logger logger, String realm); String getRealm(); Logger getLogger(); synchronized void setConfiguration(Configuration cfg); void addChannel(ISOChannel channel); void addChannel(String name); void removeChannel(ISOChannel channel); void removeChannel(String name); int size(); synchronized ISOChannel getCurrent(); Object clone();  }### Answer:
@Test public void testConstructor() throws Throwable { ChannelPool channelPool = new ChannelPool(); assertEquals("", channelPool.name, "channelPool.name"); assertEquals(0, channelPool.pool.size(), "channelPool.pool.size()"); assertNull(channelPool.cfg, "channelPool.cfg"); assertTrue(channelPool.usable, "channelPool.usable"); }
@Test public void testSize() throws Throwable { int result = new ChannelPool().size(); assertEquals(0, result, "result"); }