public void Should_not_allow_to_finish_twice() { _subject.Finished(); var ex = Assert.Throws <ObjectDisposedException>(() => _subject.Finished()); Assert.That(ex.Message, Is.StringContaining("FeatureCoordinator work is already finished.")); }