class FakeLogger
attr_reader :warnings, :errors
def initialize
@warnings = []
@errors = []
end
def warn(message)
@warnings << message
def error(message)
@errors << message