assertThat("remaining order in order book", bids.get(0).equals(buyB), is(true));
}
@Test
public void removeSellOrder() {
SellOrder sellA = OrderFactory.newLimitSell("A", "25", "100");
SellOrder sellB = OrderFactory.newLimitSell("B", "26", "100");
orderBook.newSellOrder(sellA);
orderBook.newSellOrder(sellB);
assertThat("sell order removed from orderBook", orderBook.removeSellOrder(sellA), is(true));
assertThat("number of asks in order book", asks.size(), is(1));
assertThat("remaining order in order book", asks.get(0).equals(sellB), is(true));