public DefaultSwitcher(String name, String type) {
        this.name = "DefaultSwitcher.".concat(name);
        this.defaultId = name.concat(".").concat("_default");
        this.type = type;
    }
@Test
    public void DefaultSwitcher() {
        DefaultSwitcher switcher = new DefaultSwitcher("test", "schema");

        assertFalse(switcher.current().isPresent());

        switcher.use("test");
        assertEquals(switcher.current().orElse(null), "test");

        switcher.use("test2");
        assertEquals(switcher.current().orElse(null), "test2");

        switcher.useLast();
        assertEquals(switcher.current().orElse(null), "test");

        switcher.reset();
        assertFalse(switcher.current().isPresent());

    }