<trclass="covered-by-large-tests popin"data-title="1 test covers line 24"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddDeleteUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="24"></a><ahref="#24">24</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="keyword">!</span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$civilite</span><spanclass="keyword">,</span><spanclass="default">'Civilite'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">|</span><spanclass="default"> </span><spanclass="keyword">!</span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$prenom</span><spanclass="keyword">,</span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">|</span><spanclass="default"> </span><spanclass="keyword">!</span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$nom</span><spanclass="keyword">,</span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">false</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 26"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddDeleteUpdate</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">$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 Medecin VALUES (DEFAULT,:civilite,:prenom,:nom)'</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">MedecinRepoTest::testAddDeleteUpdate</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">$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 28"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddDeleteUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="28"></a><ahref="#28">28</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 29"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddDeleteUpdate</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">'prenom'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$prenom</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">MedecinRepoTest::testAddDeleteUpdate</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">$id</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">lastInsertId</span><spanclass="keyword">(</span><spanclass="keyword">)</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">MedecinRepoTest::testAddDeleteUpdate</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">settype</span><spanclass="keyword">(</span><spanclass="default">$id</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">'integer'</span><spanclass="keyword">)</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">MedecinRepoTest::testAddDeleteUpdate</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="keyword">if</span><spanclass="keyword">(</span><spanclass="default">$result</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">$id</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 43"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddDeleteUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="43"></a><ahref="#43">43</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="keyword">!</span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$idMedecin</span><spanclass="keyword">,</span><spanclass="default">'Numeric'</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">false</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 45"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddDeleteUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="45"></a><ahref="#45">45</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 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 46"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddDeleteUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="46"></a><ahref="#46">46</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">$idMedecin</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 51"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="51"></a><ahref="#51">51</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="keyword">!</span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$prenom</span><spanclass="keyword">,</span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">|</span><spanclass="default"> </span><spanclass="keyword">!</span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$nom</span><spanclass="keyword">,</span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">false</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 54"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="54"></a><ahref="#54">54</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="default">$optPrenom</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="default">$prenom</span><spanclass="default"> </span><spanclass="default">!=</span><spanclass="default"> </span><spanclass="default">'null'</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$prenom</span><spanclass="keyword">,</span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">?</span><spanclass="default"> </span><spanclass="default">'%'</span><spanclass="keyword">.</span><spanclass="default">$prenom</span><spanclass="keyword">.</span><spanclass="default">'%'</span><spanclass="default"> </span><spanclass="keyword">:</span><spanclass="default"> </span><spanclass="default">'%'</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">MedecinRepoTest::testSearch</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">$optNom</span><spanclass="default"> </span><spanclass="keyword">=</span><spanclass="default"> </span><spanclass="keyword">(</span><spanclass="default"> </span><spanclass="default">$nom</span><spanclass="default"> </span><spanclass="default">!=</span><spanclass="default"> </span><spanclass="default">'null'</span><spanclass="default"> </span><spanclass="default">&&</span><spanclass="default"> </span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$nom</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">?</span><spanclass="default"> </span><spanclass="default">'%'</span><spanclass="keyword">.</span><spanclass="default">$nom</span><spanclass="keyword">.</span><spanclass="default">'%'</span><spanclass="default"> </span><spanclass="keyword">:</span><spanclass="default"> </span><spanclass="default">'%'</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 57"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="57"></a><ahref="#57">57</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 Id, Civilite, Prenom, Nom</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 59"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="59"></a><ahref="#59">59</a></div></td><tdclass="codeLine"><spanclass="default"> WHERE Nom LIKE '"</span><spanclass="keyword">.</span><spanclass="default">$optNom</span><spanclass="keyword">.</span><spanclass="default">"'</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 60"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="60"></a><ahref="#60">60</a></div></td><tdclass="codeLine"><spanclass="default"> AND Prenom LIKE '"</span><spanclass="keyword">.</span><spanclass="default">$optPrenom</span><spanclass="keyword">.</span><spanclass="default">"'</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 61"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="61"></a><ahref="#61">61</a></div></td><tdclass="codeLine"><spanclass="default"> 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 64"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::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"> </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>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 69"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="69"></a><ahref="#69">69</a></div></td><tdclass="codeLine"><spanclass="default"> </span><spanclass="keyword">if</span><spanclass="keyword">(</span><spanclass="keyword">!</span><spanclass="default">StaticRepo</span><spanclass="default">::</span><spanclass="default">checkParam</span><spanclass="keyword">(</span><spanclass="default">$idMedecin</span><spanclass="keyword">,</span><spanclass="default">'Numeric'</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">false</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 71"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="71"></a><ahref="#71">71</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 Patient.* FROM Patient,Medecin</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 73"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="73"></a><ahref="#73">73</a></div></td><tdclass="codeLine"><spanclass="default"> AND Medecin.Id = Patient.MedecinTraitant'</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 75"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="75"></a><ahref="#75">75</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">'id'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$idMedecin</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 76"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="76"></a><ahref="#76">76</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 81"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetAll</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="81"></a><ahref="#81">81</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 Medecin 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 83"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetAll</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="83"></a><ahref="#83">83</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>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 90"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddDeleteUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="90"></a><ahref="#90">90</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 Medecin SET Nom = :nom, Prenom = :prenom WHERE Id = :id"</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 91"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddDeleteUpdate</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="91"></a><ahref="#91">91</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"> </span><spanclass="default">':nom'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">strtoupper</span><spanclass="keyword">(</span><spanclass="default">$nom</span><spanclass="keyword">)</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="default"> </span><spanclass="default">':id'</span><spanclass="default"> </span><spanclass="default">=></span><spanclass="default"> </span><spanclass="default">$id</span><spanclass="default"> </span><spanclass="keyword">]</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.1</a> and <ahref="https://phpunit.de/">PHPUnit 5.1.3</a> at Sun Jan 3 19:23:14 UTC 2016.</small>