### Question:
RequestUtil { public static <T> void infixPotentialDefaults(Request<T> request){ infixPotentialDefaults(request, request.getClass(), true); }  static boolean isValid(Request<T> request); static boolean isValid(Request<T> request, boolean validateSuperclass); static void infixPotentialDefaults(Request<T> request); static void infixPotentialDefaults(Request<T> request, Class<?> targetClazz, boolean infixPotentialValuesOfSuperClass); static String resolveResourcePath(Request<T> request);  }### Answer:
@Test public void testInfixPotentialDefault(){ CreateDeploymentRequest createDeploymentRequest = new CreateDeploymentRequest(); RequestUtil.infixPotentialDefaults(createDeploymentRequest); Assert.assertEquals("default", createDeploymentRequest.getDeploymentName()); createDeploymentRequest.setDeploymentName("anothervalue"); RequestUtil.infixPotentialDefaults(createDeploymentRequest); Assert.assertEquals("anothervalue", createDeploymentRequest.getDeploymentName()); }