@Override
	protected void deregisterManagement() {
		if (!this.registration.isRegisterEnabled()) {
			return;
		}
		super.deregisterManagement();
	}
@Test
	public void testDeregisterManagement() {
		doReturn(false).when(registration).isRegisterEnabled();
		assertThatCode(() -> {
			polarisAutoServiceRegistration.registerManagement();
		}).doesNotThrowAnyException();

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