public void SurfaceCollection_TestRemoveAll_Returns0() { var messenger = Substitute.For <IFrameworkMessenger>(); var collection = new GpuSurfaceCollection(messenger); AddToCollectionTwoInternalTwoRenderTargetsAndOneTexture(collection); collection.RemoveAll(true); Assert.Equal(0, collection.CountAll()); }