public void RemovesSave() { // Arrange var applicationId = "CE7F5AA5-6832-47FE-BAE1-80D14CD8F667"; var service = new SaveService(_saveRepositoryMock); var getSave = service.GetSave(applicationId); Assert.IsNotNull(getSave); // Act service.Remove(applicationId); getSave = service.GetSave(applicationId); // Assert Assert.IsNull(getSave); }
public void RemovesSave() { // Arrange var ein = "30-1234567"; var service = new SaveService(_saveRepositoryMock); var getSave = service.GetSave(ein); Assert.IsNotNull(getSave); // Act service.Remove(ein); getSave = service.GetSave(ein); // Assert Assert.IsNull(getSave); }