test_class.file: jtss/src/test/java/ec/tss/tsproviders/utils/DataSourcePreconditionsTest.java
test_class.identifier: DataSourcePreconditionsTest
test_case.body: @Test
      @SuppressWarnings("null")
      public void testDataSource() {
          DataSource input = DataSource.of("myprovider", "1234");
          assertThat(checkProvider("myprovider", input))
                  .isSameAs(input);
          assertThatThrownBy(() -> checkProvider("xxx", input))
                  .isInstanceOf(IllegalArgumentException.class);
          assertThatThrownBy(() -> checkProvider(null, input))
                  .isInstanceOf(NullPointerException.class);
          assertThatThrownBy(() -> checkProvider("myprovider", (DataSource) null))
                  .isInstanceOf(NullPointerException.class);
      }
test_case.class_method_signature: DataSourcePreconditionsTest.testDataSource()
test_case.full_signature: @Test @SuppressWarnings("null") public void testDataSource()
test_case.identifier: testDataSource
test_case.invocations: of isSameAs assertThat checkProvider isInstanceOf assertThatThrownBy checkProvider isInstanceOf assertThatThrownBy checkProvider isInstanceOf assertThatThrownBy checkProvider
test_case.modifiers: @Test @SuppressWarnings("null") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDataSource()
focal_class.file: jtss/src/main/java/ec/tss/tsproviders/utils/DataSourcePreconditions.java
focal_class.identifier: DataSourcePreconditions
focal_class.class_method_signature: DataSourcePreconditions.DataSourcePreconditions()
focal_class.full_signature: private  DataSourcePreconditions()
focal_class.identifier: DataSourcePreconditions
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  DataSourcePreconditions()
focal_class.class_method_signature: DataSourcePreconditions.checkProvider(@NonNull String providerName, @NonNull DataSource dataSource)
focal_class.full_signature: @NonNull public static DataSource checkProvider(@NonNull String providerName, @NonNull DataSource dataSource)
focal_class.identifier: checkProvider
focal_class.modifiers: @NonNull public static
focal_class.parameters: (@NonNull String providerName, @NonNull DataSource dataSource)
focal_class.return: DataSource
focal_class.signature: DataSource checkProvider(@NonNull String providerName, @NonNull DataSource dataSource)
focal_class.class_method_signature: DataSourcePreconditions.checkProvider(@NonNull String providerName, @NonNull DataSet dataSet)
focal_class.full_signature: @NonNull public static DataSet checkProvider(@NonNull String providerName, @NonNull DataSet dataSet)
focal_class.identifier: checkProvider
focal_class.modifiers: @NonNull public static
focal_class.parameters: (@NonNull String providerName, @NonNull DataSet dataSet)
focal_class.return: DataSet
focal_class.signature: DataSet checkProvider(@NonNull String providerName, @NonNull DataSet dataSet)
focal_class.class_method_signature: DataSourcePreconditions.checkProvider(@NonNull String providerName, @NonNull TsMoniker moniker)
focal_class.full_signature: @NonNull public static TsMoniker checkProvider(@NonNull String providerName, @NonNull TsMoniker moniker)
focal_class.identifier: checkProvider
focal_class.modifiers: @NonNull public static
focal_class.parameters: (@NonNull String providerName, @NonNull TsMoniker moniker)
focal_class.return: TsMoniker
focal_class.signature: TsMoniker checkProvider(@NonNull String providerName, @NonNull TsMoniker moniker)
focal_class.class_method_signature: DataSourcePreconditions.checkProvider(@NonNull String expected, @Nullable String found)
focal_class.full_signature: private static void checkProvider(@NonNull String expected, @Nullable String found)
focal_class.identifier: checkProvider
focal_class.modifiers: private static
focal_class.parameters: (@NonNull String expected, @Nullable String found)
focal_class.return: void
focal_class.signature: void checkProvider(@NonNull String expected, @Nullable String found)
focal_method.body: @NonNull
      public static DataSource checkProvider(@NonNull String providerName, @NonNull DataSource dataSource) throws IllegalArgumentException {
          checkProvider(providerName, dataSource.getProviderName());
          return dataSource;
      }
focal_method.class_method_signature: DataSourcePreconditions.checkProvider(@NonNull String providerName, @NonNull DataSource dataSource)
focal_method.full_signature: @NonNull public static DataSource checkProvider(@NonNull String providerName, @NonNull DataSource dataSource)
focal_method.identifier: checkProvider
focal_method.invocations: checkProvider getProviderName
focal_method.modifiers: @NonNull public static
focal_method.parameters: (@NonNull String providerName, @NonNull DataSource dataSource)
focal_method.return: DataSource
focal_method.signature: DataSource checkProvider(@NonNull String providerName, @NonNull DataSource dataSource)