public void ShouldRollbackFileCreation() { // Given var command = new CreateCommand (FilePath); command.Execute (); // When command.Rollback (); // Then Assert.IsFalse (File.Exists (FilePath)); }
public void ShouldRollbackFileCreation() { // Given var command = new CreateCommand (FilePath); command.Execute (); // When command.Rollback (); // Then Assert.IsFalse (File.Exists (FilePath)); }