test_class.declarator: wadlProcessor
test_class.modifier: private
test_class.original_string: private WadlProcessor         wadlProcessor;
test_class.type: WadlProcessor
test_class.var_name: wadlProcessor
test_class.declarator: applicationContext
test_class.modifier: private
test_class.original_string: private ApplicationContext    applicationContext;
test_class.type: ApplicationContext
test_class.var_name: applicationContext
test_class.declarator: resourceDescriptor
test_class.modifier: private
test_class.original_string: private ResourceDescriptor    resourceDescriptor;
test_class.type: ResourceDescriptor
test_class.var_name: resourceDescriptor
test_class.declarator: resourceMethod
test_class.modifier: private
test_class.original_string: private GenericResourceMethod resourceMethod;
test_class.type: GenericResourceMethod
test_class.var_name: resourceMethod
test_class.declarator: optionsRequestMethodInvoker
test_class.modifier: private
test_class.original_string: private OptionsRequestMethodInvoker optionsRequestMethodInvoker;
test_class.type: OptionsRequestMethodInvoker
test_class.var_name: optionsRequestMethodInvoker
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/method/OptionsRequestMethodInvokerTest.java
test_class.identifier: OptionsRequestMethodInvokerTest
test_case.body: @Test
      public void providesWadlResponse() throws Exception {
          org.everrest.core.wadl.research.Application wadlDoc = new org.everrest.core.wadl.research.Application();
          when(wadlProcessor.process(resourceDescriptor, URI.create("/a"))).thenReturn(wadlDoc);
  
          Object object = new Object();
          Response response = (Response)optionsRequestMethodInvoker.invokeMethod(object, resourceMethod, applicationContext);
  
          assertEquals(200, response.getStatus());
          assertEquals(new MediaType("application", "vnd.sun.wadl+xml"), response.getMediaType());
          assertSame(wadlDoc, response.getEntity());
      }
test_case.class_method_signature: OptionsRequestMethodInvokerTest.providesWadlResponse()
test_case.full_signature: @Test public void providesWadlResponse()
test_case.identifier: providesWadlResponse
test_case.invocations: thenReturn when process create invokeMethod assertEquals getStatus assertEquals getMediaType assertSame getEntity
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void providesWadlResponse()
focal_class.declarator: wadlProcessor
focal_class.modifier: private
focal_class.original_string: private WadlProcessor wadlProcessor;
focal_class.type: WadlProcessor
focal_class.var_name: wadlProcessor
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/method/OptionsRequestMethodInvoker.java
focal_class.identifier: OptionsRequestMethodInvoker
focal_class.interfaces: implements MethodInvoker
focal_class.class_method_signature: OptionsRequestMethodInvoker.OptionsRequestMethodInvoker(WadlProcessor wadlProcessor)
focal_class.full_signature: public  OptionsRequestMethodInvoker(WadlProcessor wadlProcessor)
focal_class.identifier: OptionsRequestMethodInvoker
focal_class.modifiers: public
focal_class.parameters: (WadlProcessor wadlProcessor)
focal_class.signature:  OptionsRequestMethodInvoker(WadlProcessor wadlProcessor)
focal_class.class_method_signature: OptionsRequestMethodInvoker.invokeMethod(Object resource, GenericResourceMethod genericResourceMethod, ApplicationContext context)
focal_class.full_signature: @Override public Object invokeMethod(Object resource, GenericResourceMethod genericResourceMethod, ApplicationContext context)
focal_class.identifier: invokeMethod
focal_class.modifiers: @Override public
focal_class.parameters: (Object resource, GenericResourceMethod genericResourceMethod, ApplicationContext context)
focal_class.return: Object
focal_class.signature: Object invokeMethod(Object resource, GenericResourceMethod genericResourceMethod, ApplicationContext context)
focal_method.body: @Override
      public Object invokeMethod(Object resource, GenericResourceMethod genericResourceMethod, ApplicationContext context) {
          Application wadlApplication = wadlProcessor.process(genericResourceMethod.getParentResource(), context.getBaseUri());
          return Response.ok(wadlApplication, MediaTypeHelper.WADL_TYPE).build();
      }
focal_method.class_method_signature: OptionsRequestMethodInvoker.invokeMethod(Object resource, GenericResourceMethod genericResourceMethod, ApplicationContext context)
focal_method.full_signature: @Override public Object invokeMethod(Object resource, GenericResourceMethod genericResourceMethod, ApplicationContext context)
focal_method.identifier: invokeMethod
focal_method.invocations: process getParentResource getBaseUri build ok
focal_method.modifiers: @Override public
focal_method.parameters: (Object resource, GenericResourceMethod genericResourceMethod, ApplicationContext context)
focal_method.return: Object
focal_method.signature: Object invokeMethod(Object resource, GenericResourceMethod genericResourceMethod, ApplicationContext context)