Code Duplication    Length = 13-13 lines in 2 locations

Controller/DefaultController.php 1 location

@@ 202-214 (lines=13) @@
199
        ));
200
    }
201
202
    private function setCoreParameters()
203
    {
204
        $this->setParameters(array(
205
            'identity'          => $this->curriculumVitae->getIdentity(),
206
            'followMe'          => $this->curriculumVitae->getFollowMe(),
207
            'lookingFor'        => $this->curriculumVitae->getLookingFor(),
208
            'experiences'       => $this->curriculumVitae->getExperiences(),
209
            'skills'            => $this->curriculumVitae->getSkills(),
210
            'educations'        => $this->curriculumVitae->getEducations(),
211
            'languageSkills'    => $this->curriculumVitae->getLanguageSkills(),
212
            'miscellaneous'     => $this->curriculumVitae->getMiscellaneous(),
213
        ));
214
    }
215
216
    /**
217
     * @param array $parametersToAdd

Tests/Controller/DefaultControllerTest.php 1 location

@@ 93-105 (lines=13) @@
90
        }
91
    }
92
93
    private function getCvXML()
94
    {
95
        return array(
96
            'identity'          => $this->curriculumVitae->getIdentity(),
97
            'followMe'          => $this->curriculumVitae->getFollowMe(),
98
            'lookingFor'        => $this->curriculumVitae->getLookingFor(),
99
            'experiences'       => $this->curriculumVitae->getExperiences(),
100
            'skills'            => $this->curriculumVitae->getSkills(),
101
            'educations'        => $this->curriculumVitae->getEducations(),
102
            'languageSkills'    => $this->curriculumVitae->getLanguageSkills(),
103
            'miscellaneous'     => $this->curriculumVitae->getMiscellaneous()
104
        );
105
    }
106
107
    public function testOutputFollowMeLink()
108
    {