test_class.declarator: timeoutFilter = new TimeoutFilter()
test_class.modifier: private
test_class.original_string: private TimeoutFilter timeoutFilter = new TimeoutFilter();
test_class.type: TimeoutFilter
test_class.var_name: timeoutFilter
test_class.file: dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/filter/TimeoutFilterTest.java
test_class.identifier: TimeoutFilterTest
test_case.body: @Test
      public void testInvokeWithTimeout() throws Exception {
          int timeout = 100;
  
          URL url = URL.valueOf("test://test:11/test?accesslog=true&group=dubbo&version=1.1&timeout=" + timeout);
          Invoker invoker = new BlockMyInvoker(url, (timeout + 100));
  
          Invocation invocation = Mockito.mock(Invocation.class);
          when(invocation.getMethodName()).thenReturn("testInvokeWithTimeout");
  
          Result result = timeoutFilter.invoke(invoker, invocation);
          Assertions.assertEquals("Dubbo", result.getValue());
  
      }
test_case.class_method_signature: TimeoutFilterTest.testInvokeWithTimeout()
test_case.full_signature: @Test public void testInvokeWithTimeout()
test_case.identifier: testInvokeWithTimeout
test_case.invocations: valueOf mock thenReturn when getMethodName invoke assertEquals getValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInvokeWithTimeout()
focal_class.declarator: logger = LoggerFactory.getLogger(TimeoutFilter.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(TimeoutFilter.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.file: dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/TimeoutFilter.java
focal_class.identifier: TimeoutFilter
focal_class.interfaces: implements Filter, Filter.Listener
focal_class.class_method_signature: TimeoutFilter.invoke(Invoker<?> invoker, Invocation invocation)
focal_class.full_signature: @Override public Result invoke(Invoker<?> invoker, Invocation invocation)
focal_class.identifier: invoke
focal_class.modifiers: @Override public
focal_class.parameters: (Invoker<?> invoker, Invocation invocation)
focal_class.return: Result
focal_class.signature: Result invoke(Invoker<?> invoker, Invocation invocation)
focal_class.class_method_signature: TimeoutFilter.onResponse(Result appResponse, Invoker<?> invoker, Invocation invocation)
focal_class.full_signature: @Override public void onResponse(Result appResponse, Invoker<?> invoker, Invocation invocation)
focal_class.identifier: onResponse
focal_class.modifiers: @Override public
focal_class.parameters: (Result appResponse, Invoker<?> invoker, Invocation invocation)
focal_class.return: void
focal_class.signature: void onResponse(Result appResponse, Invoker<?> invoker, Invocation invocation)
focal_class.class_method_signature: TimeoutFilter.onError(Throwable t, Invoker<?> invoker, Invocation invocation)
focal_class.full_signature: @Override public void onError(Throwable t, Invoker<?> invoker, Invocation invocation)
focal_class.identifier: onError
focal_class.modifiers: @Override public
focal_class.parameters: (Throwable t, Invoker<?> invoker, Invocation invocation)
focal_class.return: void
focal_class.signature: void onError(Throwable t, Invoker<?> invoker, Invocation invocation)
focal_method.body: @Override
      public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException {
          return invoker.invoke(invocation);
      }
focal_method.class_method_signature: TimeoutFilter.invoke(Invoker<?> invoker, Invocation invocation)
focal_method.full_signature: @Override public Result invoke(Invoker<?> invoker, Invocation invocation)
focal_method.identifier: invoke
focal_method.invocations: invoke
focal_method.modifiers: @Override public
focal_method.parameters: (Invoker<?> invoker, Invocation invocation)
focal_method.return: Result
focal_method.signature: Result invoke(Invoker<?> invoker, Invocation invocation)