@Test
public void validTests() throws Exception {

    IPAddressValidator validator = IPAddressValidator.instance();
    assertTrue(validator.validate("10.0.0.0"));
    assertTrue(validator.validate("10.0.0.255"));
    assertTrue(validator.validate("10.0.255.0"));
    assertTrue(validator.validate("10.255.0.0"));
    assertTrue(validator.validate("255.0.0.0"));
}