test_class.declarator: recordService
test_class.modifier: @Inject
test_class.original_string: @Inject
      RecordServiceImpl recordService;
test_class.type: RecordServiceImpl
test_class.var_name: recordService
test_class.declarator: hookRegistrar
test_class.modifier: @Inject
test_class.original_string: @Inject
      HookRegistrar hookRegistrar;
test_class.type: HookRegistrar
test_class.var_name: hookRegistrar
test_class.declarator: listenerProvider
test_class.modifier: @Inject
test_class.original_string: @Inject
      ListenerProvider listenerProvider;
test_class.type: ListenerProvider
test_class.var_name: listenerProvider
test_class.file: gae-studio/gae-studio-server/src/test/java/com/arcbees/gaestudio/server/service/profiler/RecordServiceImplTest.java
test_class.identifier: RecordServiceImplTest
test_case.body: @Test
      public void testStopRecording(Listener listener) {
          // GIVEN
          when(listenerProvider.get()).thenReturn(listener);
  
          // WHEN
          recordService.stopRecording();
  
          // THEN
          verify(listenerProvider).get();
          verify(hookRegistrar).removeListener(listener);
      }
test_case.class_method_signature: RecordServiceImplTest.testStopRecording(Listener listener)
test_case.full_signature: @Test public void testStopRecording(Listener listener)
test_case.identifier: testStopRecording
test_case.invocations: thenReturn when get stopRecording get verify removeListener verify
test_case.modifiers: @Test public
test_case.parameters: (Listener listener)
test_case.return: void
test_case.signature: void testStopRecording(Listener listener)
focal_class.declarator: hookRegistrar
focal_class.modifier: private final
focal_class.original_string: private final HookRegistrar hookRegistrar;
focal_class.type: HookRegistrar
focal_class.var_name: hookRegistrar
focal_class.declarator: listenerProvider
focal_class.modifier: private final
focal_class.original_string: private final ListenerProvider listenerProvider;
focal_class.type: ListenerProvider
focal_class.var_name: listenerProvider
focal_class.file: gae-studio/gae-studio-server/src/main/java/com/arcbees/gaestudio/server/service/profiler/RecordServiceImpl.java
focal_class.identifier: RecordServiceImpl
focal_class.interfaces: implements RecordService
focal_class.class_method_signature: RecordServiceImpl.RecordServiceImpl(
              HookRegistrar hookRegistrar,
              ListenerProvider listenerProvider)
focal_class.full_signature: @Inject  RecordServiceImpl(
              HookRegistrar hookRegistrar,
              ListenerProvider listenerProvider)
focal_class.identifier: RecordServiceImpl
focal_class.modifiers: @Inject
focal_class.parameters: (
              HookRegistrar hookRegistrar,
              ListenerProvider listenerProvider)
focal_class.signature:  RecordServiceImpl(
              HookRegistrar hookRegistrar,
              ListenerProvider listenerProvider)
focal_class.class_method_signature: RecordServiceImpl.startRecording()
focal_class.full_signature: @Override public void startRecording()
focal_class.identifier: startRecording
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void startRecording()
focal_class.class_method_signature: RecordServiceImpl.stopRecording()
focal_class.full_signature: @Override public void stopRecording()
focal_class.identifier: stopRecording
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void stopRecording()
focal_method.body: @Override
      public void stopRecording() {
          Listener listener = listenerProvider.get();
          hookRegistrar.removeListener(listener);
      }
focal_method.class_method_signature: RecordServiceImpl.stopRecording()
focal_method.full_signature: @Override public void stopRecording()
focal_method.identifier: stopRecording
focal_method.invocations: get removeListener
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void stopRecording()