FileDocCategorySizeDatePackage
TestClassTest.javaAPI DocExample1053Thu Feb 19 13:15:06 GMT 2004org.cookbook.ch05

TestClassTest

public class TestClassTest extends junit.framework.TestCase
author
Steven Holzner To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Fields Summary
TestClass
testClassObject
Constructors Summary
public TestClassTest(String arg0)
Constructor for TestClassTest.

param
arg0

		super(arg0);
	
Methods Summary
protected voidsetUp()

		super.setUp();
		testClassObject = new TestClass();
	
protected voidtearDown()

		super.tearDown();
	
public voidtestGet()

		assertEquals(testClassObject.get(), "Test String");
	
public voidtestSet()

		assertTrue(testClassObject.set(1));