The green bar for validation starts to go as normal, and then the window for the validator just disappears. None of the steps pass or fail. It doesn't give me a timeout error.
The code, when tested, appears to do what is required in the conditions file.
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)
{
try
{
Locale.setDefault(Locale.ENGLISH);
Operation operation = ConsoleHelper.requestOperation();
do
{
CommandExecutor.execute(operation);
operation = ConsoleHelper.requestOperation();
}
while (operation != Operation.EXIT);
CommandExecutor.execute(operation);
}
catch(InterruptedOperationException e)
{
ConsoleHelper.writeMessage("Goodbye");
}
}
}