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;
import com.codegym.task.task26.task2613.command.CommandExecutor;
import com.codegym.task.task26.task2613.exception.InterruptedOperationException;
import java.util.Locale;
public class CashMachine {
public static void main(String[] args) {
Locale.setDefault(Locale.ENGLISH);
try {
Operation operation;
do {
operation = ConsoleHelper.requestOperation();
CommandExecutor.execute(operation);
} while (operation != Operation.EXIT);
} catch (InterruptedOperationException e) {
ConsoleHelper.writeMessage("Bye");
}
}
}