package org.opendaylight.ovsdb.southbound; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import org.opendaylight.ovsdb.southbound.OvsdbSchemaContants.OVSDBSCHEMATABLES; public class OvsdbSchemaContantsTest { private OvsdbSchemaContants ovsdbSchemaContants; @Before public void setUp() { ovsdbSchemaContants = new OvsdbSchemaContants(); } @Test public void testDatabaseName() { assertEquals("Error databaseName did not return correct value","Open_vSwitch",OvsdbSchemaContants.databaseName); } @Test public void testGetTableName() { assertEquals("Error getTableName() did not return correct value", "Open_vSwitch", OVSDBSCHEMATABLES.OPENVSWITCH.getTableName()); } @Test public void testGetParentTableName() { assertEquals("Error getTableName() did not return correct value", null, OVSDBSCHEMATABLES.OPENVSWITCH.getParentTableName()); } @Test public void testGetColumnNameInParentTable() { assertEquals("Error getTableName() did not return correct value", null, OVSDBSCHEMATABLES.OPENVSWITCH.getColumnNameInParentTable()); } }