### Question:
BaseChannel extends Observable implements FilteredChannel, ClientChannel, ServerChannel, FactoryChannel, 
               LogSource, Configurable, BaseChannelMBean, Cloneable, ExceptionHandlerAware { public int[] getCounters() { return cnt; } BaseChannel();  BaseChannel(String host, int port, ISOPackager p);  BaseChannel(ISOPackager p);  BaseChannel(ISOPackager p, ServerSocket serverSocket); void setHost(String host, int port); void setLocalAddress(String iface, int port); void setHost(String host); void setPort(int port); String getHost(); int getPort(); void setPackager(ISOPackager p); ISOPackager getPackager(); void setServerSocket(ServerSocket sock); @Override Map<Class<? extends Exception>, List<ExceptionHandler>> getExceptionHandlers(); void resetCounters(); int[] getCounters(); boolean isConnected(); Socket getSocket(); ServerSocket getServerSocket(); void setTimeout(int timeout); int getTimeout(); void setSoLinger(boolean on, int linger); boolean isSoLingerOn(); int getSoLingerSeconds(); void connect(); void accept(ServerSocket s); void setUsable(boolean b); void send(ISOMsg m); void send(byte[] b); void sendKeepAlive(); ISOMsg receive(); int getBytes(byte[] b); void disconnect(); void reconnect(); void setLogger(Logger logger, String realm); String getRealm(); Logger getLogger(); String getOriginalRealm(); void setName(String name); String getName(); @SuppressWarnings ("unchecked") void addFilter(ISOFilter filter, int direction); void addIncomingFilter(ISOFilter filter); void addOutgoingFilter(ISOFilter filter); void addFilter(ISOFilter filter); void removeFilter(ISOFilter filter, int direction); void removeFilter(ISOFilter filter); void removeIncomingFilter(ISOFilter filter); void removeOutgoingFilter(ISOFilter filter); void setConfiguration(Configuration cfg); Configuration getConfiguration(); Collection<ISOFilter> getIncomingFilters(); Collection<ISOFilter> getOutgoingFilters(); void setIncomingFilters(Collection filters); void setOutgoingFilters(Collection filters); void setHeader(byte[] header); void setHeader(String header); byte[] getHeader(); void setOverrideHeader(boolean overrideHeader); boolean isOverrideHeader(); static ISOChannel getChannel(String name); ISOClientSocketFactory getSocketFactory(); void setSocketFactory(ISOClientSocketFactory socketFactory); int getMaxPacketLength(); void setMaxPacketLength(int maxPacketLength); Object clone();  }### Answer:
@Test public void testGetCounters() throws Throwable { int[] result = new NACChannel().getCounters(); assertEquals(3, result.length, "result.length"); assertEquals(0, result[0], "result[0]"); }