@@ -0,0 +1,1145 @@
+package org.cinchapi.concourse;%0A%0Aimport org.cinchapi.concourse.thrift.Operator;%0Aimport org.cinchapi.concourse.util.TestData;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0A/**%0A * Unit tests the following alias operators: LIKE, NOT_LIKE and LINK_TO.%0A * %0A * @author remie%0A *%0A */%0Apublic class OperatorAliasTest extends ConcourseIntegrationTest %7B%0A%0A%09@Test%0A%09public void testLikeAlias() %7B%0A%09%09String key = TestData.getString();%0A%09%09int record = TestData.getScaleCount();%0A%09%09client.add(key, 1, record);%0A%09%09Assert.assertEquals(client.find(key, Operator.LIKE, record),%0A%09%09%09%09client.find(key, Operator.REGEX, record));%0A%09%7D%0A%0A%09@Test%0A%09public void testNotLikeAlias() %7B%0A%09%09String key = TestData.getString();%0A%09%09int record = TestData.getScaleCount();%0A%09%09client.add(key, 1, record);%0A%09%09Assert.assertEquals(client.find(key, Operator.NOT_LIKE, record),%0A%09%09%09%09client.find(key, Operator.NOT_REGEX, record));%0A%09%7D%0A%0A%09@Test%0A%09public void testLinkToAlias() %7B%0A%09%09String key = TestData.getString();%0A%09%09int record = TestData.getScaleCount();%0A%09%09client.add(key, 1, record);%0A%09%09Assert.assertEquals(client.find(key, Operator.LINKS_TO, record),%0A%09%09%09%09client.find(key, Operator.EQUALS, record));%0A%09%7D%0A%7D%0A

Create unit tests for the following alias operators: LIKE, NOT_LIKE and LINK_TO