diff --git a/vaadin-testbench/src/main/java/com/vaadin/testbench/HasStringValueProperty.java b/vaadin-testbench/src/main/java/com/vaadin/testbench/HasStringValueProperty.java new file mode 100644 index 000000000..be9e721b2 --- /dev/null +++ b/vaadin-testbench/src/main/java/com/vaadin/testbench/HasStringValueProperty.java @@ -0,0 +1,18 @@ +package com.vaadin.testbench; + +public interface HasStringValueProperty extends HasPropertySettersGetters { + + default public String getValue() { + return getPropertyString("value"); + } + + default public void setValue(String string) { + setProperty("value", string); + } + + @Override + default public void clear() { + setValue(""); + } + +}