@VisibleForTesting
    Optional<Method> getGetSchedulerResourceTypesMethod() {
        return getSchedulerResourceTypesMethod;
    }
@Test
    void testGetSchedulerResourceTypesMethodReflectiveHadoop26() {

        final RegisterApplicationMasterResponseReflector
                registerApplicationMasterResponseReflector =
                        new RegisterApplicationMasterResponseReflector(LOG);

        assertThat(registerApplicationMasterResponseReflector.getGetSchedulerResourceTypesMethod())
                .isPresent();
    }