public static NotFoundException appNotFound(String appId) {
    return new NotFoundException("app not found for appId:%s", appId);
  }
@Test
  public void testAppNotFoundException() {
    NotFoundException exception = NotFoundException.appNotFound(appId);
    assertEquals(exception.getMessage(), "app not found for appId:app-1001");
  }