<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 14:07:16 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sebastian G&ouml;ttschkes: symfony2: Testing email sending]]></title>
      <guid>http://www.phpdeveloper.org/news/18471</guid>
      <link>http://www.phpdeveloper.org/news/18471</link>
      <description><![CDATA[<p>
<i>Sebastian G&ouml;ttschkes</i> has a new post showing a method he's come up with to <a href="http://sgoettschkes.blogspot.nl/2012/09/symfony2-testing-email-sending.html">test email sending</a> in a Symfony2 application.
</p>
<blockquote>
On my endless struggle to achieving 100% code coverage and catching every possible (and impossible) test case (I'm just kiddinh, please don't do this!) I was in need for some way to test the sending of emails. This blog post will show you how to test this within a symfony2 (I'm using symfony 2.1 RC2) application, using the default swiftmailer.
</blockquote>
<p>
It's not unit testing, it's functional testing, and he provides a bit of background on the process first then sets up a dummy listener for testing and how to plug in the Symfony2 functionality (via a getContainer call to get the DIC).
</p>]]></description>
      <pubDate>Thu, 13 Sep 2012 08:52:03 -0500</pubDate>
    </item>
  </channel>
</rss>
