I am trying to programmatically set the values of NEW_RELIC_APP_NAME and NEW_RELIC_LICENCE_KEY environment variables see here.
I am getting error on newrelic starting up, but I want to mock newrelic with these environment values so that I can use Newrelic Library to write test cases.