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