### Question:
Ipv4Range extends AbstractIpRange<Ipv4, Ipv4Range> { public static Ipv4Range parseCidr(String cidrString) { int idx = cidrString.indexOf(SLASH); Validate.isTrue(idx != -1, "Argument [" + cidrString + "] is not a range or does not comply with the CIDR notation"); String address = cidrString.substring(0, idx); String prefix = cidrString.substring(idx + 1, cidrString.length()); return Ipv4Range.from(address).andPrefixLength(prefix); } protected  Ipv4Range(Ipv4 start, Ipv4 end); static Ipv4RangeBuilder from(Ipv4 from); static Ipv4RangeBuilder from(BigInteger from); static Ipv4RangeBuilder from(Long from); static Ipv4RangeBuilder from(String from); static Ipv4Range parse(String range); static Ipv4Range parseCidr(String cidrString); static Ipv4Range parseDecimalNotation(String range); @Override Long size();  }### Answer:
@Test(expected = IllegalArgumentException.class) public void shouldFailToParseCidrWhenIllegalPrefix() { Ipv4Range.parseCidr("0.0.0.10/33"); }
@Test(expected = IllegalArgumentException.class) public void shouldFailToParseCidrWhenSingleResource() { Ipv4Range.parseCidr("0.0.0.1"); }