public synchronized void endOfWashing() {
    washingMachineState = WashingMachineState.ENABLED;
    LOGGER.info("{}: Washing completed.", Thread.currentThread().getId());
  }
@Test
  void endOfWashing() {
    var washingMachine = new WashingMachine();
    washingMachine.wash();
    assertEquals(WashingMachineState.ENABLED, washingMachine.getWashingMachineState());
  }