@Test(dataProvider = "newInstanceDataProvider") public void newInstance(int uniqueId, Boolean expectedValue) { assertEquals(BooleanFieldFactory.TICK_TOCK.newInstance(uniqueId), expectedValue); }
@Override public Boolean newInstance(int uniqueId) { return isEven(uniqueId); }
BooleanFieldFactory extends AbstractFieldFactory<Boolean> { @Override public Boolean newInstance(int uniqueId) { return isEven(uniqueId); } }
BooleanFieldFactory extends AbstractFieldFactory<Boolean> { @Override public Boolean newInstance(int uniqueId) { return isEven(uniqueId); }  }
BooleanFieldFactory extends AbstractFieldFactory<Boolean> { @Override public Boolean newInstance(int uniqueId) { return isEven(uniqueId); }  @Override Boolean newInstance(int uniqueId); static FieldFactory<Boolean> valueOf(String name); }
BooleanFieldFactory extends AbstractFieldFactory<Boolean> { @Override public Boolean newInstance(int uniqueId) { return isEven(uniqueId); }  @Override Boolean newInstance(int uniqueId); static FieldFactory<Boolean> valueOf(String name); static final BooleanFieldFactory TICK_TOCK; static final AbstractFieldFactory<Boolean> ALWAYS_TRUE; static final AbstractFieldFactory<Boolean> ALWAYS_FALSE; }