environment = new Environment();
}
@Given("^a matching engine with the following order book:$")
public void aLoadedOrderBook(List<SpecifiedOrderBookLevel> orderBookLevels) throws Throwable {
environment = new Environment();
for (SpecifiedOrderBookLevel bookLevel : orderBookLevels) {
BuyOrder buyOrder = bookLevel.getBidSideAsShortHandDescription().manufactureNewOrder();
SellOrder sellOrder = bookLevel.getAskSideAsShortHandDescription().manufactureNewOrder();
if (buyOrder != null) sendOrder(buyOrder);