public class ChangeSummaryGenTestCase extends TestCase {
public void testMixedQuoteType() throws IOException {
QuoteBase quote = CSFactory.INSTANCE.createQuoteBase();
DataObject dQuote = (DataObject)quote;
// ChangeSummary csp = quote.getChanges();
ChangeSummary cs = dQuote.getChangeSummary();
ChangeSummary csp = quote.getChanges();
cs.beginLogging();
assertSame(cs, csp);
quote.setSymbol("fbnt");
quote.setCompanyName("FlyByNightTechnology");
quote.setPrice(new BigDecimal("1000.0"));
quote.setOpen1(new BigDecimal("1000.0"));
quote.setHigh(new BigDecimal("1000.0"));
quote.setLow(new BigDecimal("1000.0"));
quote.setVolume(1000);
quote.setChange1(1000);
List quotes = quote.getQuotes();
Quote innerQuote = CSFactory.INSTANCE.createQuote();
quotes.add(innerQuote);
innerQuote.setPrice(new BigDecimal("2000.0"));