test/backend/serverless_agent_test.rb in instana-1.199.2 vs test/backend/serverless_agent_test.rb in instana-1.199.3

- old
+ new

@@ -68,6 +68,16 @@ subject = Instana::Backend::ServerlessAgent.new([], timer_class: MockTimer, backend_uri: 'http://10.10.10.10:9292/', logger: Logger.new('/dev/null')) subject.timer.block.call end + + def test_start + subject = Instana::Backend::ServerlessAgent.new([], timer_class: MockTimer, backend_uri: 'http://10.10.10.10:9292/', logger: Logger.new('/dev/null')) + assert subject.respond_to? :start + end + + def test_after_fork + subject = Instana::Backend::ServerlessAgent.new([], timer_class: MockTimer, backend_uri: 'http://10.10.10.10:9292/', logger: Logger.new('/dev/null')) + assert subject.respond_to? :after_fork + end end