<p>I'm working on a piece of library code around <code>IDisposable</code>. The managed path (via <code>using</code>) is easily testable. I'm wondering about the finalizer though: Is calling <a href="http://msdn.microsoft.com/en-us/library/xe0c2357.aspx" rel="noreferrer"><code>System.GC.Collect()</code></a> sufficient to force the finalizer to run?</p>

Could you mock out an
```
IDisposable
```
interface and expect a call to
```
Dispose
```
?  That would at least let you see when the object is actually disposed.