    @Test
    public void extentTwoPoints() throws SQLException {

        union.add(createPoint(3, 5));
        union.add(createPoint(5, 3));
        Object result = union.getResult();
        assertThat(result, is(not(nullValue())));
        Geometry geomResult = GeoDB.gFromWKB((byte[]) result);

        assertThat(geomResult.getArea(), is(0.0));
        assertTrue(geomResult.contains(createPoint(3, 5)));
        assertTrue(geomResult.contains(createPoint(5, 3)));
        assertFalse(geomResult.contains(createPoint(4, 4)));
    }