@Test
public void stopCellEditing() {

  Mockito.when(myComponent.getText()).thenReturn("https://oslobysykkel.no/_app/options/terms?locale=%1$s&product_id=%2$s");
  assertFalse(new StringTableCellEditor(myComponent).stopCellEditing());
  Mockito.verify(myComponent).setBorder(ArgumentMatchers.<LineBorder>argThat(
    actual -> JBColor.RED.equals(actual.getLineColor()) && 1 == actual.getThickness() && !actual.getRoundedCorners()));
}