* Test to insure that a JAX-RPC Value Type works correctly. StockInvestment
* subclasses Investment and should pass data members in both the Investment
* and StockInvestment classes across the wire correctly.
*/
public void testStockInvestment() throws Exception {
StockInvestment stock = new StockInvestment();
stock.setName("International Business Machines");
stock.setId(1);
stock.setTradeExchange("NYSE");
stock.setLastTradePrice(200.55F);
float lastTradePrice = binding.getRealtimeLastTradePrice(stock);
assertEquals("The expected and actual values did not match.",
201.25F,
lastTradePrice,
FLOAT_DELTA);