@@ -0,0 +1,2359 @@
+/*%0A * Licensed to STRATIO (C) under one or more contributor license agreements.%0A * See the NOTICE file distributed with this work for additional information%0A * regarding copyright ownership.  The STRATIO (C) licenses this file%0A * to you under the Apache License, Version 2.0 (the%0A * %22License%22); you may not use this file except in compliance%0A * with the License.  You may obtain a copy of the License at%0A *%0A *   http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing,%0A * software distributed under the License is distributed on an%0A * %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY%0A * KIND, either express or implied.  See the License for the%0A * specific language governing permissions and limitations%0A * under the License.%0A */%0A%0Apackage com.stratio.cassandra.lucene.search.condition;%0A%0Aimport com.stratio.cassandra.lucene.IndexException;%0Aimport org.apache.lucene.spatial.query.SpatialOperation;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0A/**%0A * @author Eduardo Alonso %7B@literal %3Ceduardoalonso@stratio.com%3E%7D%0A */%0Apublic class GeoOperationTest extends AbstractConditionTest  %7B%0A%0A    @Test(expected = IndexException.class)%0A    public void testParseNull() %7B%0A        GeoOperation.parse(null);%0A    %7D%0A%0A    @Test(expected = IndexException.class)%0A    public void testParseEmpty() %7B%0A        GeoOperation.parse(%22%22);%0A    %7D%0A%0A    @Test(expected = IndexException.class)%0A    public void testParseBlank() %7B%0A        GeoOperation.parse(%22%5Ct %22);%0A    %7D%0A%0A    @Test(expected = IndexException.class)%0A    public void testInvalid() %7B%0A        GeoOperation.parse(%22invalid_operation%22);%0A    %7D%0A%0A    @Test%0A    public void testParseIntersects() %7B%0A        GeoOperation distance = GeoOperation.parse(%22intersects%22);%0A        check(distance, SpatialOperation.Intersects);%0A    %7D%0A%0A    @Test%0A    public void testParseIsWithin() %7B%0A        GeoOperation distance = GeoOperation.parse(%22is_within%22);%0A        check(distance, SpatialOperation.IsWithin);%0A    %7D%0A%0A    @Test%0A    public void testParseContains() %7B%0A        GeoOperation distance = GeoOperation.parse(%22contains%22);%0A        check(distance, SpatialOperation.Contains);%0A    %7D%0A%0A    private void check(GeoOperation operation, SpatialOperation spatialOperation) %7B%0A        assertEquals(%22Parsed distance is wrong%22, spatialOperation, operation.getSpatialOperation());%0A    %7D%0A%7D%0A

Add GeoOperation unit tests.