### Question:
IPv4Range { public boolean contains(long ipLong) { boolean out; out = this.lo <= ipLong && ipLong <= this.hi; return out; } IPv4Range();  IPv4Range(long lo, long hi, String label);  IPv4Range(String lo, String hi, String label); long getLo(); void setLo(long lo); long getHi(); void setHi(long hi); String getLabel(); void setLabel(String label); @Override String toString(); boolean contains(long ipLong); boolean contains(String ipStr);  }### Answer:
@Test public void shouldExceptIpInRange(){ assertTrue(onenintytwo.contains("192.168.3.52")); }
@Test public void shouldRejectIpOutOfRange(){ assertFalse(onenintytwo.contains("192.168.3.49")); }