public void does_not_apply_history_if_username_is_empty() { ClassUnderTest.ApplyHistory(theRequest); theSession.AssertWasNotCalled(x => x.Load <LoginFailureHistory>((string)null)); theRequest.NumberOfTries.ShouldBe(0); theRequest.LockedOutUntil.ShouldBeNull(); }