use of org.codice.alliance.libs.klv.GeometryOperator in project alliance by codice.
the class LineStringMetacardUpdaterTest method testGetGeometryFunction.
@Test
public void testGetGeometryFunction() {
GeometryOperator function = mock(GeometryOperator.class);
lineStringMetacardUpdater = new LineStringMetacardUpdater(attrName, function);
assertThat(lineStringMetacardUpdater.getGeometryOperator(), is(function));
}
use of org.codice.alliance.libs.klv.GeometryOperator in project alliance by codice.
the class LocationMetacardUpdaterTest method testGetGeometryFunction.
@Test
public void testGetGeometryFunction() {
GeometryOperator preUnionGeometryOperator = mock(GeometryOperator.class);
GeometryOperator postUnionGeometryOperator = mock(GeometryOperator.class);
LocationMetacardUpdater updater = new LocationMetacardUpdater(preUnionGeometryOperator, postUnionGeometryOperator);
assertThat(updater.getPreUnionGeometryOperator(), is(preUnionGeometryOperator));
assertThat(updater.getPostUnionGeometryOperator(), is(postUnionGeometryOperator));
}
Aggregations