<trclass="covered-by-large-tests popin"data-title="1 test covers line 13"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetById</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="13"></a><ahref="#13">13</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 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="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 15"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetById</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="15"></a><ahref="#15">15</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 20"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="20"></a><ahref="#20">20</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 21"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="21"></a><ahref="#21">21</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 22"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="22"></a><ahref="#22">22</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 23"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testAddAndDelete</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="23"></a><ahref="#23">23</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 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="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 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">$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 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">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 34"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</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">$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 35"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</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="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 36"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</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">'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 38"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testSearch</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="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 43"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</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="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 45"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</li></ul>"data-placement="bottom"data-html="true"><td><divalign="right"><aname="45"></a><ahref="#45">45</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 47"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</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="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 48"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetPatient</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="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 53"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetAll</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="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 55"data-content="<ul><li class="covered-by-large-tests">MedecinRepoTest::testGetAll</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="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 9:44:35 UTC 2015.</small>