private void Apply(UserFailedPasswordAttemptSetted @event)
 {
     FailedPasswordAttemptCount = @event.FailedPasswordAttemptCount;
       FailedPasswordAttemptWindowStart = @event.FailedPasswordAttemptWindowStart;
 }
 public void UserFailedPasswordAttemptSetted()
 {
     var userId = Guid.NewGuid();
       var resetDate = DateTime.Now;
       var @event = new UserFailedPasswordAttemptSetted(userId, 10, resetDate);
       Assert.AreEqual(userId, @event.AggregateId);
       Assert.AreEqual(10, @event.FailedPasswordAttemptCount);
       Assert.AreEqual(resetDate, @event.FailedPasswordAttemptWindowStart);
 }