Unit Testing with Paradox?

Is there a way to easily unit test Paradox scripts? For example I’m looking to test that a GetMapPosition method will return the correct co-ordinates, but my class is trying to access GraphicsDevice.BackBuffer.Width which is null. Can any of this be mocked out? Or are there other better ways of doing things?