    @Test
    public void shouldDetermineConnectorName() {

        final Oas20Document openApiDoc = new Oas20Document();

        assertThat(generator.determineConnectorName(ApiConnectorTemplate.SWAGGER_TEMPLATE, createSettingsFrom(openApiDoc))).isEqualTo("unspecified");

        final Oas20Info info = (Oas20Info) openApiDoc.createInfo();
        openApiDoc.info = info;
        assertThat(generator.determineConnectorName(ApiConnectorTemplate.SWAGGER_TEMPLATE, createSettingsFrom(openApiDoc))).isEqualTo("unspecified");

        info.title = "title";
        assertThat(generator.determineConnectorName(ApiConnectorTemplate.SWAGGER_TEMPLATE, createSettingsFrom(openApiDoc))).isEqualTo("title");
    }