@Test
void register() {

    ServiceBuilder builder = new ServiceBuilder();
    builder.register(true);
    Assertions.assertTrue(builder.build().isRegister());
    builder.register(false);
    Assertions.assertFalse(builder.build().isRegister());
}