1 22 package org.objectweb.petals.jbi.management.systemstate; 23 24 import junit.framework.TestCase; 25 26 31 public class SharedLibraryStateTest extends TestCase { 32 33 public void testSettersGetters() { 34 SharedLibraryState sharedLibraryState = new SharedLibraryState(); 35 36 sharedLibraryState.setArchiveURL("zipURL"); 37 assertEquals(sharedLibraryState.getArchiveURL(), "zipURL"); 38 39 sharedLibraryState.setInstallURL("installURL"); 40 assertEquals(sharedLibraryState.getInstallURL(), "installURL"); 41 42 sharedLibraryState.setName("name"); 43 assertEquals(sharedLibraryState.getName(), "name"); 44 } 45 46 public void testEquals(){ 47 SharedLibraryState sharedLibraryState = new SharedLibraryState(); 48 49 assertFalse(sharedLibraryState.equals(null)); 50 } 51 } 52 | Popular Tags |