    @Test
    public void should_process_buy_order_when_shop_state_is_OPEN() {

        // Given
        Map<String, Object> buyOrderMsg = createBuyOrderMsg(ProductType.margaux, 1L);
        when(shopService.isShopOpen()).thenReturn(ofNullable(TRUE));

        // When
        barAppListener.receiveOrder(buyOrderMsg);

        // Then
        Mockito.verify(shopService, times(1)).processBuyOrder(any(Map.class));
    }