### Question:
BidOrderServiceImpl implements OrderService<BidOrder, ColoredCoinsBidOrderPlacement> { @Override public int getCount() { return bidOrderTable.getCount(); } 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 shouldGetCount() { final int count = 1; when(bidOrderTable.getCount()).thenReturn(count); final int countActual = orderService.getCount(); assertEquals(count, countActual); }