FrameCenterUpdateFieldFactory implements UpdateParentFactory.Factory { @Override public UpdateParent.UpdateField build() { return new FrameCenterUpdateField(geometryOperator, geometryFactory); } FrameCenterUpdateFieldFactory(
      GeometryOperator geometryOperator, GeometryFactory geometryFactory); @Override UpdateParent.UpdateField build(); GeometryOperator getGeometryOperator();  }
@Test public void testBuild() { GeometryOperator geometryOperator = mock(GeometryOperator.class); FrameCenterUpdateFieldFactory factory = new FrameCenterUpdateFieldFactory(geometryOperator, new GeometryFactory()); UpdateParent.UpdateField updateField = factory.build(); assertThat(updateField, is(instanceOf(FrameCenterUpdateField.class))); }