Class ReflectionResourceMethodIntrospectorTest


  • public class ReflectionResourceMethodIntrospectorTest
    extends Object
    Unit tests of ReflectionResourceMethodIntrospector.
    Author:
    Carl Harris
    • Field Detail

      • MODEL_PATH

        public static final org.soulwing.prospecto.jaxrs.runtime.path.ModelPath MODEL_PATH
      • context

        public final org.jmock.integration.junit4.JUnitRuleMockery context
    • Constructor Detail

      • ReflectionResourceMethodIntrospectorTest

        public ReflectionResourceMethodIntrospectorTest()
    • Method Detail

      • testMethodThatIsNotResourceOrLocator

        public void testMethodThatIsNotResourceOrLocator()
                                                  throws Exception
        Throws:
        Exception
      • testLocatorMethodWithConcreteReturn

        public void testLocatorMethodWithConcreteReturn()
                                                 throws Exception
        Throws:
        Exception
      • testLocatorMethodWithConcreteReturnAndTypeTemplateResolver

        public void testLocatorMethodWithConcreteReturnAndTypeTemplateResolver()
                                                                        throws Exception
        Throws:
        Exception
      • testLocatorMethodWithAbstractReturn

        public void testLocatorMethodWithAbstractReturn()
                                                 throws Exception
        Throws:
        Exception
      • testLocatorMethodWithAbstractReturnNoMatchingSubResourceType

        public void testLocatorMethodWithAbstractReturnNoMatchingSubResourceType()
                                                                          throws Exception
        Throws:
        Exception
      • testLocatorMethodWithAbstractReturnMoreThanOneSubResourceType

        public void testLocatorMethodWithAbstractReturnMoreThanOneSubResourceType()
                                                                           throws Exception
        Throws:
        Exception
      • testAnnotatedSubResource

        public void testAnnotatedSubResource()
                                      throws Exception
        Throws:
        Exception
      • testAnnotatedResourceMethodWithSingleSpec

        public void testAnnotatedResourceMethodWithSingleSpec()
                                                       throws Exception
        Throws:
        Exception
      • testAnnotatedResourceMethodWithMultipleSpecs

        public void testAnnotatedResourceMethodWithMultipleSpecs()
                                                          throws Exception
        Throws:
        Exception
      • testAnnotatedResourceMethodWithSpecsAndSpec

        public void testAnnotatedResourceMethodWithSpecsAndSpec()
                                                         throws Exception
        Throws:
        Exception
      • testAnnotatedResourceMethodWithTypeTemplateResolver

        public void testAnnotatedResourceMethodWithTypeTemplateResolver()
                                                                 throws Exception
        Throws:
        Exception