GWY
2022-04-08 b4dff1ab265d1f2b3c6fd5540fddadd7a0f8db7e
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * An apex page controller that exposes the site forgot password functionality
 */
@IsTest public with sharing class ForgotPasswordControllerTest {
       @IsTest(SeeAllData=true) public static void testForgotPasswordController() {
        // Instantiate a new controller with all parameters in the page
        ForgotPasswordController controller = new ForgotPasswordController();
        controller.username = 'test@salesforce.com';         
    
        System.assertEquals(controller.forgotPassword(),null); 
    }
}