### Question:
NodeReachabilitySegmentationResolver implements IgSegmentationResolver { public boolean isValidSegment() throws IgSegmentationException { if (!initialized) this.validateProperties(); try { return this.targetNodeAddress.isReachable(this.localNodeNetworkInterface, this.ttl, this.timeout); } catch (IOException e) { throw new IgSegmentationException("Failed to check node reachability: " + this.targetNodeAddress, e); } }  boolean isValidSegment(); NodeReachabilitySegmentationResolver setTimeout(int timeout); NodeReachabilitySegmentationResolver setTtl(int ttl); NodeReachabilitySegmentationResolver setLocalNodeAddress(InetAddress localNodeAddress); NodeReachabilitySegmentationResolver setLocalNodeName(String localNodeName); NodeReachabilitySegmentationResolver setLocalNodeNetworkInterfaceToUse(NetworkInterface localNodeNetworkInterface); NodeReachabilitySegmentationResolver setTargetNodeAddress(InetAddress targetNodeAddress); NodeReachabilitySegmentationResolver setTargetNodeName(String targetNodeName); String toString();  }### Answer:
@Test(expected = NullPointerException.class) public void test_resolver_without_local_node_address() throws IgSegmentationException { resolver.isValidSegment(); }