Code example for Invokable

Methods: getReturnType

0
      checkFilters(request);
   } 
 
   public void testNewObject() throws SecurityException, NoSuchMethodException, IOException {
      Invokable<?, ?> method = method(AtmosAsyncClient.class, "newObject");
      assertEquals(method.getReturnType().getRawType(), AtmosObject.class);
   } 
 
   @Override 
   protected void checkFilters(HttpRequest request) {
      assertEquals(request.getFilters().size(), 1);
      assertEquals(request.getFilters().get(0).getClass(), SignRequest.class);
   } 
 
   @BeforeClass 
   @Override 
   protected void setupFactory() throws IOException {
      super.setupFactory(); 
      blobToObject = injector.getInstance(BlobToObject.class);
   }