I am writing a unit test where IWebHostEnvironment is not injectable and would like to get the ContentRootPath.
Is this possible, when testing a simple class outside the scope of the app?
I am writing a unit test where IWebHostEnvironment is not injectable and would like to get the ContentRootPath.
Is this possible, when testing a simple class outside the scope of the app?