require File.expand_path("../../test_helper", __FILE__) class BBQueue::NullLoggerTest < MiniTest::Test def setup @logger = BBQueue::NullLogger.new end def test_debug assert_nothing_raised { @logger.debug "Debug" } end def test_info assert_nothing_raised { @logger.info "Info" } end def test_warn assert_nothing_raised { @logger.warn "Warn" } end def test_error assert_nothing_raised { @logger.error "Error" } end def test_fatal assert_nothing_raised { @logger.fatal "Fatal" } end end