EODSystemProperties { @Override public String toString() { return "EODSystemProperties{" + "startTime=" + startTime + ", marketCloseTime=" + marketCloseTime + ", exitTime=" + exitTime + ", twsHost=" + twsHost + ", twsPort=" + twsPort + ", twsClientId=" + twsClientId + ", tradeSizeDollars=" + tradeSizeDollars + ", longShortTickerMap=" + longShortTickerMap + ", strategyDirectory=" + strategyDirectory + ", entryOrderType=" + entryOrderType + ", exitSeconds=" + exitSeconds + ", exitOrderType=" + exitOrderType + '}'; } protected  EODSystemProperties();  EODSystemProperties(String fileName);  EODSystemProperties(InputStream inputStream); LocalTime getStartTime(); String getTwsHost(); int getTwsPort(); int getTwsClientId(); int getTradeSizeDollars(); Map<String, String> getLongShortTickerMap(); LocalTime getMarketCloseTime(); String getStrategyDirectory(); TradeOrder.Type getEntryOrderType(); Type getExitOrderType(); int getExitSeconds(); LocalTime getExitTime(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testGetFilenameConstructor() throws Exception { Path path = Paths.get( getClass().getResource("/eod.test.properties").toURI() ); EODSystemProperties props = new EODSystemProperties( path.toString() ); assertEquals( getExpected(), props ); }