public void ShouldReturnFalseWhenUserProfileCannotBeDeleted() { int profileId = 5555555; ProfileRepository repository = new ProfileRepository(DEVELOPMENT_CONNECTION_STRING); var result = repository.Delete(new IVRProfile() { ProfileId = profileId }); Assert.AreEqual(false, result); }
public void ShouldDeleteUserProfile() { int profileId = 123456; ProfileRepository repository = new ProfileRepository(DEVELOPMENT_CONNECTION_STRING); var result = repository.Delete(new IVRProfile() { ProfileId = profileId }); Assert.AreEqual(true, result); }