@Test
public void testSupportsParentClass() throws NoSuchMethodException {

    MethodParameter methodParameter = new MethodParameter(
            this.getClass().getMethod("testSupportAndResolve"),
            0,
            Object.class, //<---- the param is of type "object" so the intent can still be passed
            MethodParameter.EMPTY_ANNOTATIONS
    );
    RequestEnvelope envelope = Utils.buildSimpleEnvelope("PetTypeIntent", "pet", "DRAGON");
    ArgumentResolverContext input = new ArgumentResolverContext(mockSkillContext, methodParameter, HandlerInput.builder().withRequestEnvelope(envelope).build());
    assertTrue(resolver.resolve(input).isPresent());
}