public void DisposeCalledWhenFixtureImplementsIDisposable()
 {
     DisposableFixture fixture = new DisposableFixture();
     TestBuilder.RunTestFixture(fixture);
     Assert.IsTrue(fixture.disposeCalled);
 }
 public void DisposeCalledOnceWhenFixtureImplementsIDisposable()
 {
     var fixture = new DisposableFixture();
     TestBuilder.RunTestFixture(fixture);
     Assert.That(fixture.disposeCalled, Is.EqualTo(1));
 }