    @Test
    public void legacyBugCases() {


        // #307 Annotation collée au texte
        assertProperty(new Property("comment typo|@commentForgot space @required @password", "comment typo", true, null, "", "", true),
                Property.extractProperty("comment typo|@commentForgot space @required @password"));

        // #311
        assertProperty(new Property("comment that only starts with quotes | @comment \"comment | @default 12", "comment that only starts with quotes", false, null, "", "", false),
                Property.extractProperty("comment that only starts with quotes | @comment \"comment | @default 12"));


        // #314
        assertProperty(new Property("annotation after unrequired pipe|Niveau des logs du package org.springframework.web|@default ERROR|@pattern * @password", "annotation after unrequired pipe", false, "Niveau des logs du package org.springframework.web|", "", "", true),
                Property.extractProperty("annotation after unrequired pipe|Niveau des logs du package org.springframework.web|@default ERROR|@pattern * @password"));

        // #315
        assertProperty(new Property("sumo.rules.generation|true ou false@required", "sumo.rules.generation", false, "true ou false", "", "", false),
                Property.extractProperty("sumo.rules.generation|true ou false@required"));

        // #318
        assertProperty(new Property("mur.url|@required|url du service mur", "mur.url", false, null, "", "", false),
                Property.extractProperty("mur.url|@required|url du service mur"));

        assertProperty(new Property("thalys.newsletter.password|@required @password|password pour le service de newsletter", "thalys.newsletter.password", true, null, "", "", false),
                Property.extractProperty("thalys.newsletter.password|@required @password|password pour le service de newsletter"));

        assertProperty(new Property("sidh.uri|@comment \"SIDH URL (http://uvsclbh01-vip05:50707/sidh1i/)\" @required\"", "sidh.uri", false, "SIDH URL (http://uvsclbh01-vip05:50707/sidh1i/)", "", "", false),
                Property.extractProperty("sidh.uri|@comment \"SIDH URL (http://uvsclbh01-vip05:50707/sidh1i/)\" @required\""));

        // #321
        assertProperty(new Property("authentication.appKey | @comment 'Aujourd'hui'", "authentication.appKey", false, "Aujourd", "", "", false),
                Property.extractProperty("authentication.appKey | @comment 'Aujourd'hui'"));

        assertProperty(new Property("authentication.appKey | @comment \"Aujourd\"hui\"", "authentication.appKey", false, "Aujourd", "", "", false),
                Property.extractProperty("authentication.appKey | @comment \"Aujourd\"hui\""));

        // #323
        assertProperty(new Property("ector.service.environment|@default prod|@comment \"Valorisation possible: prod ou validation\"", "ector.service.environment", false, null, "prod|@comment", "", false),
                Property.extractProperty("ector.service.environment|@default prod|@comment \"Valorisation possible: prod ou validation\""));

        // #324
        assertProperty(new Property("sumon.graphite.enabled|@comment \"Activation de la publication des metrics SUMON dans graphite @default false\"", "sumon.graphite.enabled", false, "Activation de la publication des metrics SUMON dans graphite @default false", "", "", false),
                Property.extractProperty("sumon.graphite.enabled|@comment \"Activation de la publication des metrics SUMON dans graphite @default false\""));

        assertProperty(new Property("newrest.key_api_key | @default \"X-APIKEY\" @comment \"Key for send apiKey in header", "newrest.key_api_key", false, null, "X-APIKEY", "", false),
                Property.extractProperty("newrest.key_api_key | @default \"X-APIKEY\" @comment \"Key for send apiKey in header"));
    }