@@ -0,0 +1,1209 @@
+/**%0A * %0A */%0Apackage com.boundary.sdk.event.snmp;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport org.junit.After;%0Aimport org.junit.AfterClass;%0Aimport org.junit.Before;%0Aimport org.junit.BeforeClass;%0Aimport org.junit.Test;%0A%0Aimport com.boundary.sdk.SNMPRoute;%0A%0A/**%0A * @author davidg%0A *%0A */%0Apublic class SNMPRouteTest %7B%0A%0A%09/**%0A%09 * @throws java.lang.Exception%0A%09 */%0A%09@BeforeClass%0A%09public static void setUpBeforeClass() throws Exception %7B%0A%09%7D%0A%0A%09/**%0A%09 * @throws java.lang.Exception%0A%09 */%0A%09@AfterClass%0A%09public static void tearDownAfterClass() throws Exception %7B%0A%09%7D%0A%0A%09/**%0A%09 * @throws java.lang.Exception%0A%09 */%0A%09@Before%0A%09public void setUp() throws Exception %7B%0A%09%7D%0A%0A%09/**%0A%09 * @throws java.lang.Exception%0A%09 */%0A%09@After%0A%09public void tearDown() throws Exception %7B%0A%09%7D%0A%09%0A%09@Test%0A%09public void testMibRepository() %7B%0A%09%09String expectedPath = %22foobar%22;%0A%09%09SNMPRoute builder = new SNMPRoute();%0A%09%09%0A%09%09builder.setMibRepository(expectedPath);%0A%09%09assertEquals(%22Check license%22,expectedPath,builder.getMibRepository());%0A%09%7D%0A%0A%09@Test%0A%09public void testLicense() %7B%0A%09%09String expectedLicense = %22foobar%22;%0A%09%09SNMPRoute builder = new SNMPRoute();%0A%09%09%0A%09%09builder.setLicense(expectedLicense);%0A%09%09assertEquals(%22Check license%22,expectedLicense,builder.getLicense());%0A%09%7D%0A%0A%7D%0A

Add class to test the SNMPRoute