private void Apply(UserPasswordResetted @event)
 {
     Password = @event.NewPassword;
       LastPasswordChangedDate = @event.LastPasswordChangedDate;
 }
 public void UserPasswordResetted()
 {
     var userId = Guid.NewGuid();
       var resetDate = DateTime.Now;
       var @event = new UserPasswordResetted(userId, "123abc", resetDate);
       Assert.AreEqual(userId, @event.AggregateId);
       Assert.AreEqual("123abc", @event.NewPassword);
       Assert.AreEqual(resetDate, @event.LastPasswordChangedDate);
 }