1 package uba.db.sql.language;
2
3 import junit.framework.TestCase;
4 import uba.db.testhelpers.TestUtils;
5
6 /***
7 * Test de unidad para {@link IndexName}.
8 *
9 * @version $Revision: 1.1 $
10 */
11 public class IndexNameTest extends TestCase {
12 /***
13 * Test de igualdad entre dos instancias.
14 */
15 public void testEquals() throws Exception {
16 IndexName indexName = new IndexName("indiceA");
17 IndexName sameIndexName = new IndexName("indiceA");
18 IndexName otherIndexName = new IndexName("indiceB");
19
20 TestUtils.assertEqualsImplementation(indexName, sameIndexName, otherIndexName);
21 }
22 }