Stock { public Stock(String symbol, double price, int volume, double pe, double eps, double week52low, double week52high, double daylow, double dayhigh, double movingav50day, double marketcap, String name, String currency, double shortRatio, double previousClose, double open, String exchange) { this.symbol = symbol; this.price = price; this.volume = volume; this.pe = pe; this.eps = eps; this.week52low = week52low; this.week52high = week52high; this.daylow = daylow; this.dayhigh = dayhigh; this.movingav50day = movingav50day; this.marketcap = marketcap; this.name = name; this.currency = currency; this.shortRatio = shortRatio; this.previousClose = previousClose; this.open = open; this.exchange = exchange; } Stock(String symbol, double price, int volume, double pe, double eps, double week52low,      
					double week52high, double daylow, double dayhigh, double movingav50day, double marketcap, String name, String currency, double shortRatio, double previousClose, double open, String exchange); String getExchange(); double getPreviousClose(); double getOpen(); double getShortRatio(); String getCurrency(); String getSymbol(); double getPrice(); int getVolume(); double getPe(); double getEps(); double getWeek52low(); double getWeek52high(); double getDaylow(); double getDayhigh(); double getMovingav50day(); double getMarketcap(); String getName();  }
@Test public void testStock() { Stock facebook = StockFetcher.getStock("FB"); System.out.println("Price: " + facebook.getPrice()); System.out.println("Volume: " + facebook.getVolume()); System.out.println("P/E: " + facebook.getPe()); System.out.println("EPS: " + facebook.getEps()); System.out.println("Year Low: " + facebook.getWeek52low()); System.out.println("Year High: " + facebook.getWeek52high()); System.out.println("Day Low: " + facebook.getDaylow()); System.out.println("Day High: " + facebook.getDayhigh()); System.out.println("50 Day Moving Av: " + facebook.getMovingav50day()); System.out.println("Market Cap: " + facebook.getMarketcap()); System.out.println("The full name is: " + facebook.getName()); System.out.println("The currency is: " + facebook.getCurrency()); System.out.println("The short ratio is: " + facebook.getShortRatio()); System.out.println("The previous close was: " + facebook.getPreviousClose()); System.out.println("The open for today was: " + facebook.getOpen()); System.out.println("The exchange is " + facebook.getExchange()); }