public void Throws_exception_outside_of_the_transaction() { Assert.Throws<InvalidOperationException>(() => fileService.FileExists(assemblyFileName)); }