<trclass="covered-by-large-tests popin"data-title="1 test covers line 14"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetById</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="14"></a><ahref="#14">14</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">$id</span><spanclass="keyword">,</span><spanclass="default">'Integer'</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="keyword">{</span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">false</span><spanclass="keyword">;</span><spanclass="keyword">}</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 16"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetById</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="16"></a><ahref="#16">16</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 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 17"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetById</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="17"></a><ahref="#17">17</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">$id</span><spanclass="keyword">]</span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 18"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetById</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="18"></a><ahref="#18">18</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">fetch</span><spanclass="keyword">(</span><spanclass="keyword">)</span><spanclass="keyword">,</span><spanclass="default"> </span><spanclass="default">true</span><spanclass="default"> </span><spanclass="keyword">)</span><spanclass="keyword">;</span></td></tr>
<trclass="covered-by-large-tests popin"data-title="1 test covers line 24"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</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="default">&&</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="default">&&</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="keyword">{</span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">false</span><spanclass="keyword">;</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::testAddAndDelete</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::testAddAndDelete</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::testAddAndDelete</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::testAddAndDelete</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><spanclass="keyword">]</span><spanclass="keyword">)</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">MedecinRepoTest::testAddAndDelete</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">$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 32"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</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">settype</span><spanclass="keyword">(</span><spanclass="default">$id</span><spanclass="keyword">,</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 33"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</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="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">$id</span><spanclass="keyword">;</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">MedecinRepoTest::testAddAndDelete</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="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">'Integer'</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="keyword">{</span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">false</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">MedecinRepoTest::testAddAndDelete</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="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 42"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="42"></a><ahref="#42">42</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 47"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="47"></a><ahref="#47">47</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">$prenom</span><spanclass="keyword">,</span><spanclass="default">'String45'</span><spanclass="keyword">)</span><spanclass="default"> </span><spanclass="default">&&</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="keyword">{</span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">false</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">MedecinRepoTest::testSearch</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="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 Medecin 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 50"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="50"></a><ahref="#50">50</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></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="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 53"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="53"></a><ahref="#53">53</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 58"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="58"></a><ahref="#58">58</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">'Integer'</span><spanclass="keyword">)</span><spanclass="keyword">)</span><spanclass="keyword">{</span><spanclass="keyword">return</span><spanclass="default"> </span><spanclass="default">false</span><spanclass="keyword">;</span><spanclass="keyword">}</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::testGetPatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="60"></a><ahref="#60">60</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 62"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="62"></a><ahref="#62">62</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 64"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</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="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 65"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="65"></a><ahref="#65">65</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">MedecinRepoTest::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 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 72"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::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 Thu Dec 10 10:51:32 UTC 2015.</small>