### Question:
BidOrderServiceImpl implements OrderService<BidOrder, ColoredCoinsBidOrderPlacement> { @Override public void removeOrder(long orderId) { int height = blockchain.getHeight(); BidOrder order = getOrder(orderId); order.setHeight(height); boolean result = bidOrderTable.deleteAtHeight(order, height); log.trace("<< removeOrder() result={}, bidOrderId={}, height={}", result, orderId, height); } BidOrderServiceImpl(
        final DatabaseManager databaseManager,
        final BidOrderTable bidOrderTable,
        final Blockchain blockchain,
        final IteratorToStreamConverter<BidOrder> converter
    ); @Inject  BidOrderServiceImpl(
        final DatabaseManager databaseManager,
        final BidOrderTable bidOrderTable,
        final Blockchain blockchain
    ); @Override int getCount(); @Override BidOrder getOrder(long orderId); @Override Stream<BidOrder> getAll(int from, int to); @Override Stream<BidOrder> getOrdersByAccount(long accountId, int from, int to); @Override Stream<BidOrder> getOrdersByAccountAsset(final long accountId, final long assetId, int from, int to); @Override Stream<BidOrder> getSortedOrders(long assetId, int from, int to); @Override BidOrder getNextOrder(long assetId); @Override void addOrder(Transaction transaction, ColoredCoinsBidOrderPlacement attachment); @Override void removeOrder(long orderId); @Override void updateQuantityATU(long quantityATU, BidOrder orderBid);  }### Answer:
@Test void removeOrder() { final long orderId = 10L; final BidOrder order = mock(BidOrder.class); when(bidOrderTable.getBidOrder(orderId)).thenReturn(order); final int height = 1040; when(blockchain.getHeight()).thenReturn(height); orderService.removeOrder(orderId); verify(bidOrderTable).deleteAtHeight(order, height); }