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

import org.melati.poem.DeletedPoemType;
import org.melati.poem.DisplayLevelPoemType;
import org.melati.poem.IntegerPoemType;

/**
 * @author timp
 * @since 6 Jan 2007
 */
public class DeletedPoemTypeTest extends NotNullableBooleanPoemTypeTest {

  /**
   * 
   */
  public DeletedPoemTypeTest() {
  }

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

  /**
   * {@inheritDoc}
   * @see org.melati.poem.test.SQLPoemTypeSpec#setObjectUnderTest()
   */
  void setObjectUnderTest() {
    it = new DeletedPoemType();
  }

  /**
   * Test method for {@link org.melati.poem.PoemType#canRepresent(org.melati.poem.PoemType)}.
   */
  public void testCanRepresent() {
    assertFalse(it.canRepresent(new DisplayLevelPoemType()) instanceof IntegerPoemType);
  }

  /**
   * Test toString.
   */
  public void testToString() {
    assertEquals("deleted (BOOLEAN (org.melati.poem.DeletedPoemType))", it.toString());
  }

  
}
