src/main/java/com/openbank/stepdefinitions/MasterStepDefinitions.java
public String generateDNI_AR(String gender) {
		String strUpdatedDNI;
		if (!gender.isEmpty()) {
			strUpdatedDNI = gender + RandomNumberGenerator.random7DigitGenerator();
		}
		else {
			strUpdatedDNI = String.valueOf(RandomNumberGenerator.random8DigitGenerator());
		}
		session().set("DNIAR", strUpdatedDNI);
		return strUpdatedDNI;
	}
/**
	 * This method is use to generate DNI document number for Argentina based on the
	 * logic provided by functional team
	 **/
This method is use to generate DNI document number for Argentina based on the
logic provided by functional team
This method is use to generate DNI document number for Argentina based on the logic provided by functional team
public String generateDNI_AR(String gender) {
		String strUpdatedDNI;
		if (!gender.isEmpty()) {
			strUpdatedDNI = gender + RandomNumberGenerator.random7DigitGenerator();
		}
		else {
			strUpdatedDNI = String.valueOf(RandomNumberGenerator.random8DigitGenerator());
		}
		session().set("DNIAR", strUpdatedDNI);
		return strUpdatedDNI;
	}
public String generateDNI_AR ( String gender ) { String strUpdatedDNI ; if ( ! gender . isEmpty ( ) ) { strUpdatedDNI = gender + RandomNumberGenerator . random7DigitGenerator ( ) ; } else { strUpdatedDNI = String . valueOf ( RandomNumberGenerator . random8DigitGenerator ( ) ) ; } session ( ) . set ( "DNIAR" , strUpdatedDNI ) ; return strUpdatedDNI ; }
This method is use to generate DNI document number for Argentina based on the
 logic provided by functional team
This method is use to generate DNI document number for Argentina based on the logic provided by functional team