| ResumeTest.java | 
package org.appfuse.model;
import junit.framework.TestCase;
// JUnitDoclet end import
/**
 * Generated by JUnitDoclet, a tool provided by
 * ObjectFab GmbH under LGPL.
 * Please see www.junitdoclet.org, www.gnu.org
 * and www.objectfab.de for informations about
 * the tool, the licence and the authors.
 */
public class ResumeTest extends TestCase
// JUnitDoclet end extends_implements
 {
    //~ Instance fields ========================================================
    // JUnitDoclet begin class
    org.appfuse.model.Resume resume = null;
    //~ Constructors ===========================================================
    // JUnitDoclet end class
    public ResumeTest(String name) {
        // JUnitDoclet begin method ResumeTest
        super(name);
        // JUnitDoclet end method ResumeTest
    }
    //~ Methods ================================================================
    public org.appfuse.model.Resume createInstance()
    throws Exception {
        // JUnitDoclet begin method testcase.createInstance
        return new org.appfuse.model.Resume();
        // JUnitDoclet end method testcase.createInstance
    }
    protected void setUp() throws Exception {
        // JUnitDoclet begin method testcase.setUp
        super.setUp();
        resume = createInstance();
        // JUnitDoclet end method testcase.setUp
    }
    protected void tearDown() throws Exception {
        // JUnitDoclet begin method testcase.tearDown
        resume = null;
        super.tearDown();
        // JUnitDoclet end method testcase.tearDown
    }
    public void testSetGetDescription() throws Exception {
        // JUnitDoclet begin method setDescription getDescription
        java.lang.String[] tests =
        { "", " ", "a", "A", "ä", "ß", "0123456789", "012345678901234567890", "\n", null };
        for (int i = 0; i < tests.length; i++) {
            resume.setDescription(tests[i]);
            assertEquals(tests[i], resume.getDescription());
        }
        // JUnitDoclet end method setDescription getDescription
    }
    public void testSetGetId() throws Exception {
        // JUnitDoclet begin method setId getId
        java.lang.Long[] tests =
        {
            new Long(Long.MIN_VALUE), new Long(-1), new Long(0), new Long(1),
            new Long(Long.MAX_VALUE), null
        };
        for (int i = 0; i < tests.length; i++) {
            resume.setId(tests[i]);
            assertEquals(tests[i], resume.getId());
        }
        // JUnitDoclet end method setId getId
    }
    public void testSetGetName() throws Exception {
        // JUnitDoclet begin method setName getName
        java.lang.String[] tests =
        { "", " ", "a", "A", "ä", "ß", "0123456789", "012345678901234567890", "\n", null };
        for (int i = 0; i < tests.length; i++) {
            resume.setName(tests[i]);
            assertEquals(tests[i], resume.getName());
        }
        // JUnitDoclet end method setName getName
    }
    public void testSetGetObjective() throws Exception {
        // JUnitDoclet begin method setObjective getObjective
        java.lang.String[] tests =
        { "", " ", "a", "A", "ä", "ß", "0123456789", "012345678901234567890", "\n", null };
        for (int i = 0; i < tests.length; i++) {
            resume.setObjective(tests[i]);
            assertEquals(tests[i], resume.getObjective());
        }
        // JUnitDoclet end method setObjective getObjective
    }
    public void testSetGetUserId() throws Exception {
        // JUnitDoclet begin method setUserId getUserId
        java.lang.Long[] tests =
        {
            new Long(Long.MIN_VALUE), new Long(-1), new Long(0), new Long(1),
            new Long(Long.MAX_VALUE), null
        };
        for (int i = 0; i < tests.length; i++) {
            resume.setUserId(tests[i]);
            assertEquals(tests[i], resume.getUserId());
        }
        // JUnitDoclet end method setUserId getUserId
    }
    /**
     * JUnitDoclet moves marker to this method, if there is not match
     * for them in the regenerated code and if the marker is not empty.
     * This way, no test gets lost when regenerating after renaming.
     * Method testVault is supposed to be empty.
     */
    public void testVault() throws Exception {
        // JUnitDoclet begin method testcase.testVault
        // JUnitDoclet end method testcase.testVault
    }
    public static void main(String[] args) {
        // JUnitDoclet begin method testcase.main
        junit.textui.TestRunner.run(ResumeTest.class);
        // JUnitDoclet end method testcase.main
    }
}
| ResumeTest.java |