I have the next code in java, I just used JUnit to test easy things and some execeptions, but how can I test the next function:
public static void suma() {
    Scanner scanner = new Scanner(System.in);
    int primerSumando = scanner.nextInt();
    int segundoSumando = scanner.nextInt();
    System.out.print(primerSumando+segundoSumando);
}
 
     
     
    