public static <T> GoConfigClassLoader<T> classParser(Element e, Class<T> aClass, ConfigCache configCache, GoCipher goCipher, final ConfigElementImplementationRegistry registry, ConfigReferenceElements configReferenceElements) {
        return new GoConfigClassLoader<>(e, aClass, configCache, goCipher, registry, configReferenceElements);
    }
@Test
    public void shouldErrorOutIfElementDoesNotHaveConfigTagAnnotation() {
        final Element element = new Element("cruise");
        final GoConfigClassLoader<ConfigWithoutAnnotation> loader = GoConfigClassLoader.classParser(element, ConfigWithoutAnnotation.class, configCache, goCipher, registry, referenceElements);

        assertThatThrownBy(loader::parse)
                .isInstanceOf(RuntimeException.class)
                .hasMessageContaining("Unable to parse element <cruise> for class ConfigWithoutAnnotation");
    }