@Test public void testGetElement() { final HTMLElement expectedElement = mock(HTMLElement.class); when(view.getElement()).thenReturn(expectedElement); final Element actualElement = constraintExpression.getElement(); assertEquals(expectedElement, actualElement); }
@Override public Element getElement() { return view.getElement(); }
DataTypeConstraintExpression implements DataTypeConstraintComponent { @Override public Element getElement() { return view.getElement(); } }
DataTypeConstraintExpression implements DataTypeConstraintComponent { @Override public Element getElement() { return view.getElement(); } @Inject  DataTypeConstraintExpression(final View view,
                                        final ConstraintPlaceholderHelper placeholderHelper); }
DataTypeConstraintExpression implements DataTypeConstraintComponent { @Override public Element getElement() { return view.getElement(); } @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 Element getElement() { return view.getElement(); } @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();  }