package net.ihe.xdrsrc.model;import net.ihe.gazelle.simulator.common.model.ApplicationConfiguration;import org.testng.annotations.BeforeMethod;import org.testng.annotations.Test;import junit.framework.TestCase;/** *  * @author abderrazek boufahja * */public class ApplicationConfigurationTest extends TestCase {        ApplicationConfiguration appconf;    public ApplicationConfigurationTest(String name) {        super(name);    }    @BeforeMethod    protected void setUp() throws Exception {        super.setUp();        appconf = new ApplicationConfiguration();    }    protected void tearDown() throws Exception {        super.tearDown();    }    @Test    public void testApplicationConfigurationStringString() {        ApplicationConfiguration a1 = new ApplicationConfiguration("1", "2");        assertEquals(a1.getVariable(), "1");        assertEquals(a1.getValue(), "2");    }    @Test    public void testSetId() {        Integer id = new Integer(1);        appconf.setId(id);        assertEquals(id, appconf.getId());    }    @Test    public void testSetVariable() {        String ss = new String("ss");		appconf.setVariable(ss);		assertEquals(appconf.getVariable(), ss);    }	@Test    public void testSetValue() {        String ss = new String("ss");		appconf.setValue(ss);		assertEquals(ss, appconf.getValue());    }	@Test    public void testEqualsObject() {        ApplicationConfiguration a1 = new ApplicationConfiguration("1", "2");		ApplicationConfiguration a2 = new ApplicationConfiguration("1", "2");		assertEquals(a1, a2);    }}