Class EclassSemanticIdResolverTest

java.lang.Object
test.de.iip_ecosphere.platform.support.semanticId.eclass.EclassSemanticIdResolverTest

public class EclassSemanticIdResolverTest extends Object
Tests EclassSemanticIdResolver.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • EclassSemanticIdResolverTest

      public EclassSemanticIdResolverTest()
  • Method Details

    • testResolution

      public void testResolution()
      Tests the resolution. Through the test in the resolver, we feed the resolver with structurally valid IRDIs.
    • testInstance

      public void testInstance()
      Instance creation operations.
    • assertNaming

      private void assertNaming(de.iip_ecosphere.platform.support.semanticId.eclass.model.TranslatableLabel label, Map<String,de.iip_ecosphere.platform.support.semanticId.DefaultSemanticIdResolutionResult.DefaultNaming> naming, Function<de.iip_ecosphere.platform.support.semanticId.DefaultSemanticIdResolutionResult.DefaultNaming,String> namingGetter)
      Asserts a naming structure for label.
      Parameters:
      label - the label to assert for
      naming - the naming structure
      namingGetter - a getter which values to assert on naming with respect to the values in label