/**
 * 
 */
package org.melati.util.test;

import java.util.Vector;

import org.melati.util.CountedDumbPagedEnumeration;
import org.melati.util.PagedEnumeration;

/**
 * @author timp
 * @since 13 Jun 2007
 *
 */
public class CountedDumbPagedEnumerationTest extends PagedEnumerationSpec {

  /**
   * @param name
   */
  public CountedDumbPagedEnumerationTest(String name) {
    super(name);
  }

  /** 
   * {@inheritDoc}
   * @see org.melati.poem.util.test.PagedEnumerationSpec#setUp()
   */
  protected void setUp() throws Exception {
    super.setUp();
  }

  /** 
   * {@inheritDoc}
   * @see org.melati.poem.util.test.PagedEnumerationSpec#tearDown()
   */
  protected void tearDown() throws Exception {
    super.tearDown();
  }
  
  protected PagedEnumeration<Integer> getObjectUnderTest() {
    Vector<Integer> them = new Vector<Integer>();
    for (int i = 0; i < 30; i++)
      them.add(new Integer(i));
    return new CountedDumbPagedEnumeration<Integer>(them.elements(), 3, 10, 25);
  }

  /**
   * Test method for {@link org.melati.poem.util.CountedDumbPagedEnumeration#CountedDumbPagedEnumeration(java.util.Enumeration, int, int, int)}.
   */
  public void testCountedDumbPagedEnumeration() {

  }


}
