### Question:
OfOverlayL3NatAug implements EpRendererAugmentation, AutoCloseable { @Override public Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation( RegisterEndpointInput input) { if (input.getAugmentation(NatAddressInput.class) != null) { return new SimpleImmutableEntry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>>( NatAddress.class, new NatAddressBuilder(input.getAugmentation(NatAddressInput.class)).build()); } return null; } OfOverlayL3NatAug(EpRendererAugmentationRegistry epRendererAugmentationRegistry); @Override Map.Entry<Class<? extends Augmentation<Endpoint>>, Augmentation<Endpoint>> buildEndpointAugmentation(
            RegisterEndpointInput input); @Override Map.Entry<Class<? extends Augmentation<EndpointL3>>, Augmentation<EndpointL3>> buildEndpointL3Augmentation(
            RegisterEndpointInput input); @Override Map.Entry<Class<? extends Augmentation<EndpointL3Prefix>>, Augmentation<EndpointL3Prefix>> buildL3PrefixEndpointAugmentation(
            RegisterL3PrefixEndpointInput input); @Override void close();  }### Answer:
@Test public void testBuildEndpointL3Augmentation() { NatAddressInput natAddressInput = new NatAddressInputBuilder().setNatAddress( new IpAddress(new Ipv4Address("10.0.0.2"))).build(); RegisterEndpointInput input = new RegisterEndpointInputBuilder().addAugmentation(NatAddressInput.class, natAddressInput).build(); assertNotNull(ofOverlayL3NatAug.buildEndpointL3Augmentation(input)); }
@Test public void testBuildEndpointL3Augmentation_noAug() { RegisterEndpointInput input = new RegisterEndpointInputBuilder().build(); assertNull(ofOverlayL3NatAug.buildEndpointL3Augmentation(input)); }