public void CanAuthenticateAnAccount(UserAccountService<HierarchicalUserAccount> service, string username, string password) { string email = $"{username}@example.com"; service.CreateAccount(username, password, email); service.Authenticate(username, password).ShouldBe(true); }