@Override
	public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
		Constructor<SentinelProtectInterceptor> constructor;
		try {
			constructor = SentinelProtectInterceptor.class.getConstructor(SentinelRestTemplate.class, RestTemplate.class);
		}
		catch (NoSuchMethodException e) {
			throw new RuntimeException(e);
		}
		hints.reflection().registerConstructor(constructor, ExecutableMode.INVOKE);
	}
@Test
	public void shouldRegisterHints() {
		Constructor<SentinelProtectInterceptor> constructor;
		try {
			constructor = SentinelProtectInterceptor.class.getConstructor(SentinelRestTemplate.class, RestTemplate.class);
		}
		catch (NoSuchMethodException e) {
			throw new RuntimeException(e);
		}
		RuntimeHints hints = new RuntimeHints();
		new SentinelProtectInterceptorHints().registerHints(hints, getClass().getClassLoader());
		assertThat(RuntimeHintsPredicates.reflection().onConstructor(constructor)).accepts(hints);
	}