// SectionTest.java  P. Conrad, for CISC370, 06/18/2007
//   based on p. 231 from Java Cookbook, 2nd Edition (O'Reilly)

import java.util.ArrayList;

/**
 * Unit tests for the {@link Section} class.
 * @author Phill Conrad
 */

public class Section {

    /**
     * A unit test to test the constructors and the getters
     * A more "pure" approach would factor this into multiple tests.
     * What are the pros/cons of doing that?
     */

    private String _name;
    private String _title;
    private String _page;
    private String _safari;

    /*
     * Construct a new section
     * @param name name of the chapter
     * @param title title of the chapter
     * @param page page number the chapter starts on
     * @param safari the safari node where the material can be found
     */


    public Section(String name, String title, String page, String safari) {
	
	_name = name;
	_title = title;
	_page = page;
	_safari = safari; 
	
	
    }

    public String getName() { return _name; }
    public String getTitle() { return _title; }
    public String getPage() { return _page; }
    public String getSafari() { return _safari; }


} // class
