class Appsignal::Extension::MockData

This class inherits from the {Data} class so that it passes type checks.
function implementation.
Disabled in testing so we can make sure that we don’t miss an extension
prevents NoMethodErrors from being raised.
loaded. This mock listens to all method calls and does nothing, and
Mock of the {Data} class. This mock is used when the extension cannot be

def initialize(*_args)

def initialize(*_args)
  # JRuby extension requirement, as it sends a pointer to the Data object
  # when creating it
end

def method_missing(_method, *_args, &_block)

def method_missing(_method, *_args, &_block)
  super if Appsignal.testing?
end

def to_s

def to_s
  "{}"
end