test_class.declarator: fibonacciService = Mockito.mock(FibonacciService.class)
test_class.modifier: private final
test_class.original_string: private final FibonacciService fibonacciService = Mockito.mock(FibonacciService.class);
test_class.type: FibonacciService
test_class.var_name: fibonacciService
test_class.declarator: expected = Randomness.nextLong()
test_class.modifier: private final
test_class.original_string: private final long expected = Randomness.nextLong();
test_class.type: long
test_class.var_name: expected
test_class.declarator: term = Randomness.nextInt()
test_class.modifier: private final
test_class.original_string: private final int term = Randomness.nextInt();
test_class.type: int
test_class.var_name: term
test_class.declarator: fibonacciRpcApi = new FibonacciRpcEndpoint(fibonacciService)
test_class.modifier: private final
test_class.original_string: private final FibonacciRpcEndpoint fibonacciRpcApi = new FibonacciRpcEndpoint(fibonacciService);
test_class.type: FibonacciRpcEndpoint
test_class.var_name: fibonacciRpcApi
test_class.file: worker/src/test/java/io/servicecomb/company/worker/FibonacciRpcEndpointTest.java
test_class.identifier: FibonacciRpcEndpointTest
test_case.body: @Test
    public void providesFibonacciTermWithUnderlyingService() {
      when(fibonacciService.term(term)).thenReturn(expected);
  
      long fibo = fibonacciRpcApi.term(term);
  
      assertThat(fibo).isEqualTo(expected);
    }
test_case.class_method_signature: FibonacciRpcEndpointTest.providesFibonacciTermWithUnderlyingService()
test_case.full_signature: @Test public void providesFibonacciTermWithUnderlyingService()
test_case.identifier: providesFibonacciTermWithUnderlyingService
test_case.invocations: thenReturn when term term isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void providesFibonacciTermWithUnderlyingService()
focal_class.declarator: fibonacciService
focal_class.modifier: private final
focal_class.original_string: private final FibonacciService fibonacciService;
focal_class.type: FibonacciService
focal_class.var_name: fibonacciService
focal_class.file: worker/src/main/java/io/servicecomb/company/worker/FibonacciRpcEndpoint.java
focal_class.identifier: FibonacciRpcEndpoint
focal_class.interfaces: implements FibonacciEndpoint
focal_class.class_method_signature: FibonacciRpcEndpoint.FibonacciRpcEndpoint(FibonacciService fibonacciService)
focal_class.full_signature: @Autowired public  FibonacciRpcEndpoint(FibonacciService fibonacciService)
focal_class.identifier: FibonacciRpcEndpoint
focal_class.modifiers: @Autowired public
focal_class.parameters: (FibonacciService fibonacciService)
focal_class.signature:  FibonacciRpcEndpoint(FibonacciService fibonacciService)
focal_class.class_method_signature: FibonacciRpcEndpoint.term(int n)
focal_class.full_signature: @Override public long term(int n)
focal_class.identifier: term
focal_class.modifiers: @Override public
focal_class.parameters: (int n)
focal_class.return: long
focal_class.signature: long term(int n)
focal_method.body: @Override
    public long term(int n) {
      return fibonacciService.term(n);
    }
focal_method.class_method_signature: FibonacciRpcEndpoint.term(int n)
focal_method.full_signature: @Override public long term(int n)
focal_method.identifier: term
focal_method.invocations: term
focal_method.modifiers: @Override public
focal_method.parameters: (int n)
focal_method.return: long
focal_method.signature: long term(int n)