def notifications_are_received_by_secondary_consumer(context, number_of_notifications):

    assert_that(context.secondaty_rabbitmq_consumer.message_list, has_length(int(number_of_notifications)),
                "Secondary RabbitMQ consumer has NOT retrieved the expected number of messages from the bus")