WXHashMap extends HashMap<K, V> { public Stack<String> getInstanceStack() { return instancesStack; }  @Override V put(K key, V value); @Override V remove(Object key); V removeFromMapAndStack(Object key); String getStackTopInstanceId(); void setStackTopInstance(String id); Stack<String> getInstanceStack(); String getTag(); void setTag(String tag);  }
@Test public void testGetInstanceStack() { Stack<String> instance= mWXHashMap.getInstanceStack(); assertNotNull(instance); }