@Test
public void testRange() throws Exception {

    final Validation validation = Length.range(2, 4);
    assertFalse(validation.isValid("a"));
    assertTrue(validation.isValid("ab"));
    assertTrue(validation.isValid("abc"));
    assertTrue(validation.isValid("abcd"));
    assertFalse(validation.isValid("abcde"));
}