Hello, I need help testing the following Java code in Junit onnetbeans. I am trying to do the white box path coverage testingthat detects errors on a specific path exececuted. Please help metest the following codes using the white box method and help mewith the screenshots. Thank you for your help in advance
// account class
package BankAccount;
import static java.lang.Character.toUpperCase;
import java.util.Scanner;
import BankAccount.AccountState;
import BankAccount.Arrear;
import BankAccount.Empty;
import BankAccount.Sound;
public class Account {
//Account attribute balance; initialized to 0.0
double balance = 0.0;
AccountState state;
/**
* @param args the command line arguments
*/
public Account() {
this.setState(new Empty());
}
public static void main(String[] args) {
//Create object of Account
Account obj1 = new Account();
//amount used for altering balance
double
PayPal Gateway not configured
PayPal Gateway not configured