public void HandleDeleteUser()
 {
     var handler = GetHandler();
       var dateRef = DateTime.Now;
       var command = new DeleteUser(guid);
       handler.Handle(command);
       Assert.AreEqual(guid, user.Id);
       repository.Verify(x => x.Save(user, It.IsAny<Guid>(), It.IsAny<Action<IDictionary<string, object>>>()), Times.Once());
 }
 public void DeleteUser()
 {
     var userId = Guid.NewGuid();
       var command = new DeleteUser(userId);
       Assert.AreEqual(userId, command.AggregateId);
 }