public void RenderQueue_CustomVeldridStage_CatchNullInputs() { var commandQueue = Substitute.For <IRenderCommandQueue>(); IRenderQueue queue = new RenderQueue(commandQueue); var stage = Substitute.For <ICustomVeldridStage>(); var target = Substitute.For <IRenderTarget>(); Assert.Throws <Yak2DException>(() => { queue.CustomVeldrid(null, null, null, null, null, target); }); Assert.Throws <Yak2DException>(() => { queue.CustomVeldrid(stage, null, null, null, null, null); }); }