<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 30"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</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="keyword">if</span><spanclass="keyword">(</span><spanclass="default">$result</span><spanclass="default"> </span><spanclass="default">!=</span><spanclass="default"> </span><spanclass="default">false</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 35"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</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">$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 36"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</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="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 40"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</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">$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 41"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</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="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 42"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</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="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 44"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="44"></a><ahref="#44">44</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 49"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</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">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 51"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</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">$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 53"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="53"></a><ahref="#53">53</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 55"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</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="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 56"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</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">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 61"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetAll</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="61"></a><ahref="#61">61</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 63"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetAll</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="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:12:27 UTC 2015.</small>