IbUtils { public static Vector<TagValue> getDefaultTagVector() { Vector<TagValue> list = new Vector<>(); list.add(new TagValue("XYZ", "XYZ")); return list; }  static String translateToIbFuturesSymbol(String symbol); static String getOrderType(TradeOrder.Type orderType); static String getTif(TradeOrder.Duration duration); static String getSecurityType(InstrumentType instrumentType); static String getAction(TradeDirection direction); static QuoteType getQuoteType(int field); static OrderStatus.Status getOrderStatus(String status); static String getExpiryString(int expiryMonth, int expiryYear); static String getExpiryString(int expiryDay, int expiryMonth, int expiryYear); static String getOptionRight( OptionTicker.Right right ); static Image getIconImage(); static BigDecimal getIbMultiplier( Ticker ticker ); static Vector<TagValue> getDefaultTagVector(); static List<TagValue> getDefaultTagList();  }
@Test public void testGetDefaultTagVector() { Vector<TagValue> expected = new Vector<>(); expected.add(new TagValue("XYZ", "XYZ")); assertEquals(expected, IbUtils.getDefaultTagVector()); }