@Test public void getAttributeValue() { arithmeticFilter = spy(new GTFilter("x", new Object())); int actualValue = (Integer) arithmeticFilter.getAttributeValue(new Runnable() { @SuppressWarnings("unused") int x = 10; public void run() { } }); assertEquals(10, actualValue); }
protected Object getAttributeValue(Object object) { return getFieldValue(attributeName, object); }
ArithmeticFilter extends LogicalFilter { protected Object getAttributeValue(Object object) { return getFieldValue(attributeName, object); } }
ArithmeticFilter extends LogicalFilter { protected Object getAttributeValue(Object object) { return getFieldValue(attributeName, object); } ArithmeticFilter(final String attributeName, final Object value); }
ArithmeticFilter extends LogicalFilter { protected Object getAttributeValue(Object object) { return getFieldValue(attributeName, object); } ArithmeticFilter(final String attributeName, final Object value); String getAttributeName(); }
ArithmeticFilter extends LogicalFilter { protected Object getAttributeValue(Object object) { return getFieldValue(attributeName, object); } ArithmeticFilter(final String attributeName, final Object value); String getAttributeName();  }