assertEquals(true, new MinLength(b, SVALUE, 2).isValid()) ;
assertEquals(false, new MinLength(b, SVALUE, 3).isValid()) ;
}
public void testBetweenLength() throws Exception {
assertEquals(true, new BetweenLength(b, SVALUE, 0, 3).isValid()) ;
b.setSvalue("abc") ;
assertEquals(true, new BetweenLength(b, SVALUE, 1, 3).isValid()) ;
assertEquals(false, new BetweenLength(b, SVALUE, 1, 2).isValid()) ;
b.setSvalue("�ѱ�") ;
assertEquals(true, new BetweenLength(b, SVALUE, 1, 2).isValid()) ;
assertEquals(false, new BetweenLength(b, SVALUE, 0, 1).isValid()) ;
}