public void snapshotOrderBook() {
BuyOrder buyA = OrderFactory.newLimitBuy("A", "25", "100");
SellOrder sellA = OrderFactory.newLimitSell("A", "25", "100");
orderBook.newBuyOrder(buyA);
orderBook.newSellOrder(sellA);
OrderBookSnapshot snapshot = orderBook.snapshot();
assertTrue(snapshot.getBidSideSnapshot().getAll().contains(buyA));
assertTrue(snapshot.getAskSideSnapshot().getAll().contains(sellA));
}