@Override
	protected void register() {
		if (!this.registration.isRegisterEnabled()) {
			LOGGER.debug("Registration disabled.");
			return;
		}
		super.register();
	}
@Test
	public void testRegister() {
		doReturn(false).when(registration).isRegisterEnabled();
		assertThatCode(() -> {
			polarisAutoServiceRegistration.register();
		}).doesNotThrowAnyException();

		doReturn(true).when(registration).isRegisterEnabled();
		assertThatCode(() -> {
			polarisAutoServiceRegistration.register();
		}).doesNotThrowAnyException();
	}