### Question:
RequestUtil { public static <T> boolean isValid(Request<T> request){ return isValid(request, 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 testIsValid(){ CreateDeploymentRequest createDeploymentRequest = new CreateDeploymentRequest(); Assert.assertFalse(RequestUtil.isValid(createDeploymentRequest)); createDeploymentRequest.setApplicationName("myApplication"); createDeploymentRequest.setDeploymentName("myDeployment"); Assert.assertFalse(RequestUtil.isValid(createDeploymentRequest)); CreateApplicationRequest createApplicationRequest = new CreateApplicationRequest(); Assert.assertFalse(RequestUtil.isValid(createApplicationRequest)); createApplicationRequest.setApplicationName("myApplication"); Assert.assertFalse(RequestUtil.isValid(createApplicationRequest)); createApplicationRequest.setLanguage("php"); Assert.assertFalse(RequestUtil.isValid(createApplicationRequest)); createApplicationRequest.setApiKey("kiasudzadh"); createApplicationRequest.setHash("asjdhaksjdhkdd"); Assert.assertTrue(RequestUtil.isValid(createApplicationRequest)); }