@Override
    public String toString() {
        return "ConfigResource(type=" + type + ", name='" + name + "')";
    }
@Test
    public void shouldRoundTripEveryType() {
        Arrays.stream(ConfigResource.Type.values()).forEach(type ->
            assertEquals(type, ConfigResource.Type.forId(type.id()), type.toString()));
    }