<trclass="covered-by-large-tests popin"data-title="1 test covers line 26"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="26"></a><ahref="#26">26</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$dateNaissance</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">strtotime</span><spanclass="keyword">(</span><spanclass="default">$dateNaissance</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 27"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="27"></a><ahref="#27">27</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$dateNaissance</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">Date</span><spanclass="keyword">(</span><spanclass="default">'o-m-d'</span><spanclass="keyword">,</span><spanclass="default">$dateNaissance</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 29"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="29"></a><ahref="#29">29</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">prepare</span><spanclass="keyword">(</span><spanclass="default">'INSERT INTO Patient VALUES (:civilite,:nom,:prenom,:adresse,:adresse2,:ville,:codePostal,:dateNaissance,:lieuNaissance,:numSecu,DEFAULT,:medecin)'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 30"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="30"></a><ahref="#30">30</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$result</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">execute</span><spanclass="keyword">(</span><spanclass="keyword">[</span><spanclass="default">'civilite'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$civilite</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 31"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="31"></a><ahref="#31">31</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'nom'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$nom</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 32"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="32"></a><ahref="#32">32</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'prenom'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$prenom</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 33"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="33"></a><ahref="#33">33</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'adresse'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$adresse</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 34"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="34"></a><ahref="#34">34</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'adresse2'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$adresse2</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 35"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="35"></a><ahref="#35">35</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'ville'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$ville</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 36"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="36"></a><ahref="#36">36</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'codePostal'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$codePostal</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 37"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="37"></a><ahref="#37">37</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'dateNaissance'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$dateNaissance</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 38"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="38"></a><ahref="#38">38</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'lieuNaissance'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$lieuNaissance</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 39"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="39"></a><ahref="#39">39</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'numSecu'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$numSecu</span><spanclass="keyword">,</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 40"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="40"></a><ahref="#40">40</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">'medecin'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$medecinTraitant</span><spanclass="default"> </span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 41"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="41"></a><ahref="#41">41</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="default">$result</span><spanclass="keyword">)</span><spanclass="keyword">{</span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">lastInsertId</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="keyword">;</span><spanclass="keyword">}</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 48"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="48"></a><ahref="#48">48</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">prepare</span><spanclass="keyword">(</span><spanclass="default">'DELETE FROM Patient WHERE Patient.Id = :id'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 49"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testAddAndDeletePatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="49"></a><ahref="#49">49</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">execute</span><spanclass="keyword">(</span><spanclass="keyword">[</span><spanclass="default">'id'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$idPatient</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 55"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdateMedecinTraitant</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="55"></a><ahref="#55">55</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">prepare</span><spanclass="keyword">(</span><spanclass="default">'UPDATE Patient SET MedecinTraitant = :medecin WHERE Id = :id'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 56"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testUpdateMedecinTraitant</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="56"></a><ahref="#56">56</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">execute</span><spanclass="keyword">(</span><spanclass="keyword">[</span><spanclass="default">'medecin'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$idMedecin</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">'id'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$idPatient</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 62"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="62"></a><ahref="#62">62</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">prepare</span><spanclass="keyword">(</span><spanclass="default">'SELECT * FROM Patient WHERE Nom LIKE :nom AND Prenom LIKE :prenom'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 63"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="63"></a><ahref="#63">63</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">execute</span><spanclass="keyword">(</span><spanclass="keyword">[</span><spanclass="default">'nom'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$nom</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">'prenom'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$prenom</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 64"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="64"></a><ahref="#64">64</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">delNumeric</span><spanclass="keyword">(</span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">fetchAll</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 70"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testGetAll</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="70"></a><ahref="#70">70</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">getConnexion</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default">-></span><spanclass="default">query</span><spanclass="keyword">(</span><spanclass="default">'SELECT * FROM Patient ORDER BY nom, prenom ASC'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 72"data-content="<ul><li class="covered-by-large-tests">PatientRepoTest::testGetAll</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="72"></a><ahref="#72">72</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">delNumeric</span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="default">$req</span><spanclass="default">-></span><spanclass="default">fetchAll</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<small>Generated by <ahref="http://github.com/sebastianbergmann/php-code-coverage"target="_top">PHP_CodeCoverage 3.0.2</a> using <ahref="http://php.net/"target="_top">PHP 7.0.0</a> and <ahref="https://phpunit.de/">PHPUnit 5.1.0</a> at Wed Dec 9 11:50:18 UTC 2015.</small>