test_class.declarator: service = new NoOpQuotaService()
test_class.modifier: private
test_class.original_string: private NoOpQuotaService service = new NoOpQuotaService();
test_class.type: NoOpQuotaService
test_class.var_name: service
test_class.declarator: context
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private ConditionContext context;
test_class.type: ConditionContext
test_class.var_name: context
test_class.file: dataprep-dataset/src/test/java/org/talend/dataprep/dataset/store/noop/NoOpQuotaServiceTest.java
test_class.identifier: NoOpQuotaServiceTest
test_case.body: @Test
      public void shouldEnableQuotaServiceBecausePropertyIsMissing() {
          // given
          givenQuotaProperty(null);
  
          // when
          final boolean matches = service.matches(context, null);
  
          // then
          assertTrue(matches);
      }
test_case.class_method_signature: NoOpQuotaServiceTest.shouldEnableQuotaServiceBecausePropertyIsMissing()
test_case.full_signature: @Test public void shouldEnableQuotaServiceBecausePropertyIsMissing()
test_case.identifier: shouldEnableQuotaServiceBecausePropertyIsMissing
test_case.invocations: givenQuotaProperty matches assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldEnableQuotaServiceBecausePropertyIsMissing()
focal_class.declarator: LOGGER = getLogger(NoOpQuotaService.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = getLogger(NoOpQuotaService.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.file: dataprep-dataset/src/main/java/org/talend/dataprep/dataset/store/noop/NoOpQuotaService.java
focal_class.identifier: NoOpQuotaService
focal_class.interfaces: implements QuotaService, Condition
focal_class.class_method_signature: NoOpQuotaService.init()
focal_class.full_signature: @PostConstruct public void init()
focal_class.identifier: init
focal_class.modifiers: @PostConstruct public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: NoOpQuotaService.checkIfAddingSizeExceedsAvailableStorage(long size)
focal_class.full_signature: @Override public void checkIfAddingSizeExceedsAvailableStorage(long size)
focal_class.identifier: checkIfAddingSizeExceedsAvailableStorage
focal_class.modifiers: @Override public
focal_class.parameters: (long size)
focal_class.return: void
focal_class.signature: void checkIfAddingSizeExceedsAvailableStorage(long size)
focal_class.class_method_signature: NoOpQuotaService.matches(ConditionContext context, AnnotatedTypeMetadata metadata)
focal_class.full_signature: @Override public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata)
focal_class.identifier: matches
focal_class.modifiers: @Override public
focal_class.parameters: (ConditionContext context, AnnotatedTypeMetadata metadata)
focal_class.return: boolean
focal_class.signature: boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata)
focal_class.class_method_signature: NoOpQuotaService.getAvailableSpace()
focal_class.full_signature: @Override public long getAvailableSpace()
focal_class.identifier: getAvailableSpace
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getAvailableSpace()
focal_method.body: @Override
      public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) {
          final String property = context.getEnvironment().getProperty("dataset.quota.check.enabled");
          return !StringUtils.equals("true", property);
      }
focal_method.class_method_signature: NoOpQuotaService.matches(ConditionContext context, AnnotatedTypeMetadata metadata)
focal_method.full_signature: @Override public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata)
focal_method.identifier: matches
focal_method.invocations: getProperty getEnvironment equals
focal_method.modifiers: @Override public
focal_method.parameters: (ConditionContext context, AnnotatedTypeMetadata metadata)
focal_method.return: boolean
focal_method.signature: boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata)