public void FindUserByAliasNameTest() { var testUser = GetTestUser(); // Create UserAlias & add it to the db (to be able to search by UserAlias.Name) UserAliasModel model = createUserAlias(testUser); MembershipManagementService.InsertOrUpdateUserAlias(model, testUser, ""); UserModel user = MembershipManagementService.FindUserByAliasName(model.Name); AreEqual(testUser, user); }