@Override
  public void setBoolean( boolean bool ) {
    this.string = bool ? "Y" : "N";
  }
@Test
  public void testSetBoolean() {
    ValueString vs = new ValueString();

    vs.setBoolean( false );
    assertEquals( "N", vs.getString() );
    vs.setBoolean( true );
    assertEquals( "Y", vs.getString() );
  }