@Test public void testGetValue() { final String expectedValue = "expression"; when(view.getExpressionValue()).thenReturn(expectedValue); final String actualValue = constraintExpression.getValue(); assertEquals(expectedValue, actualValue); }
@Override public String getValue() { return view.getExpressionValue(); }
DataTypeConstraintExpression implements DataTypeConstraintComponent { @Override public String getValue() { return view.getExpressionValue(); } }
DataTypeConstraintExpression implements DataTypeConstraintComponent { @Override public String getValue() { return view.getExpressionValue(); } @Inject  DataTypeConstraintExpression(final View view,
                                        final ConstraintPlaceholderHelper placeholderHelper); }
DataTypeConstraintExpression implements DataTypeConstraintComponent { @Override public String getValue() { return view.getExpressionValue(); } @Inject  DataTypeConstraintExpression(final View view,
                                        final ConstraintPlaceholderHelper placeholderHelper); @Override String getValue(); @Override void setValue(final String value); @Override void setConstraintValueType(final String constraintValueType); @Override Element getElement(); }
DataTypeConstraintExpression implements DataTypeConstraintComponent { @Override public String getValue() { return view.getExpressionValue(); } @Inject  DataTypeConstraintExpression(final View view,
                                        final ConstraintPlaceholderHelper placeholderHelper); @Override String getValue(); @Override void setValue(final String value); @Override void setConstraintValueType(final String constraintValueType); @Override Element getElement();  }