<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 13, 2014 at 2:00 PM, Marcin Tustin <span dir="ltr">&lt;<a href="mailto:Marcin.Tustin@dealertrack.com" target="_blank">Marcin.Tustin@dealertrack.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’ve come across a method which I needed to add a unit test for, which calls super, e.g.<u></u><u></u></p>
<p class="MsoNormal"><br></p></div></div></blockquote></div><br>Is there any reason you can&#39;t call the parent&#39;s super?  In my view of testing you want to create an object, feed it input, and then check the output/side effect. I would stay away from mocking internals like this.<br clear="all">
<div><br></div>-- <br>David<br>blog: <a href="http://www.traceback.org" target="_blank">http://www.traceback.org</a><br>twitter: <a href="http://twitter.com/dstanek" target="_blank">http://twitter.com/dstanek</a><div>www: <a href="http://dstanek.com" target="_blank">http://dstanek.com</a></div>

</div></div>