Mentor says: Be sure that the withdrawAmount(int expectedAmount) method changes the value of the denominations field in the manipulator (after removing a small amount from the ATM, isAmountAvailable should return true if the required amount is still available).
Could you please point out what's wrong here
package com.codegym.task.task26.task2613;
public enum Operation {
INFO,
DEPOSIT,
WITHDRAW,
EXIT;
public static Operation getAllowableOperationByOrdinal(Integer i){
if (i.equals(1)) return INFO;
else if(i.equals(2)) return DEPOSIT;
else if(i.equals(3)) return WITHDRAW;
else if(i.equals(4)) return EXIT;
else throw new IllegalArgumentException();
}
}