public void PasswordIsGenerated() { var r = getResult(); Assert.False(string.IsNullOrWhiteSpace(r.GeneratedPassword)); Assert.True(passwordManager.GetPolicy(r.GeneratedPassword).Ok); }