Class AnnotationsRestTest

java.lang.Object
org.glassfish.jersey.test.JerseyTest
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class AnnotationsRestTest extends BaseJerseyIntegrationTest
End-to-end checks for AnnotationsWebService.

Counts depend on the loaded ontologies and indexed characteristics, so these tests assert wiring (response shape, presence of the usageCount field) rather than exact numbers. Numeric correctness is covered by AnnotationsWebServiceTest.

  • Constructor Details

    • AnnotationsRestTest

      public AnnotationsRestTest()
  • Method Details

    • testSearchAnnotationsReturnsUsageCountField

      public void testSearchAnnotationsReturnsUsageCountField()
    • testSearchAnnotationsRejectsEmptyQuery

      public void testSearchAnnotationsRejectsEmptyQuery()
    • testGetAnnotationTermWithUnknownUriIs404

      public void testGetAnnotationTermWithUnknownUriIs404()
    • testGetAnnotationTermWithBlankUriIs400

      public void testGetAnnotationTermWithBlankUriIs400()
    • testGetAnnotationTermWithMissingUriIs400

      public void testGetAnnotationTermWithMissingUriIs400()
    • testGetAnnotationCategoriesReturnsList

      public void testGetAnnotationCategoriesReturnsList()
    • testGetAnnotationPredicatesReturnsList

      public void testGetAnnotationPredicatesReturnsList()