@Test(groups = "P1", singleThreaded = true)
  public void updatePdfThermalPrinter() {

    ThermalPrinter thermalPrinter =
        PdfThermalPrinter.builder()
            .merchantStoreName(LoginData.STORE.value())
            .thermalPrinterName("TEST PDF PRINTER 02")
            .returnPolicyText("Test Return Policy")
            .create();

    actions.addThermalPrinter(thermalPrinter);

    actions.updateThermalPrinter(
        thermalPrinter.getThermalPrinterName().get(),
        PdfThermalPrinter.builder().thermalPrinterName("TEST PDF PRINTER 03").create());
  }
 @Test(groups = "P1", singleThreaded = true)
 void addPdfPrinter() {
   actions.addThermalPrinter(
       PdfThermalPrinter.builder()
           .merchantStoreName(LoginData.STORE.value())
           .thermalPrinterName("TEST PDF PRINTER 01")
           .returnPolicyText("Test Return Policy")
           .create());
 }
  @Test(groups = "P1", singleThreaded = true)
  public void updateThermalPrinter() {

    ThermalPrinter thermalPrinter =
        SerialThermalPrinter.builder()
            .merchantStoreName(LoginData.STORE.value())
            .thermalPrinterName("TEST PRINTER 02")
            .serialPort("COM1")
            .manufacturer(ThermalPrinterManufacturer.EPSON)
            .baudRate(BaudRate._1200)
            .flowControl(FlowControl.NONE)
            .dataBits(DataBits._5)
            .stopBits(StopBits._1)
            .parity(Parity.NONE)
            .create();

    actions.addThermalPrinter(thermalPrinter);

    actions.updateThermalPrinter(
        thermalPrinter.getThermalPrinterName().get(),
        SerialThermalPrinter.builder().thermalPrinterName("TEST PRINTER 03").create());
  }