<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -36,6 +36,13 @@ class Swift_Transport_Esmtp_AuthHandlerTest
     $this-&gt;assertEqual('pass', $auth-&gt;getPassword());
   }
   
+  public function testAuthModeCanBeSetAndFetched()
+  {
+    $auth = $this-&gt;_createHandler(array());
+    $auth-&gt;setAuthMode('PLAIN');
+    $this-&gt;assertEqual('PLAIN', $auth-&gt;getAuthMode());
+  }
+  
   public function testMixinMethods()
   {
     $auth = $this-&gt;_createHandler(array());
@@ -52,6 +59,12 @@ class Swift_Transport_Esmtp_AuthHandlerTest
     $this-&gt;assertTrue(in_array('setPassword', $mixins),
       '%s: setPassword() should be accessible via mixin'
       );
+    $this-&gt;assertTrue(in_array('setAuthMode', $mixins),
+      '%s: setAuthMode() should be accessible via mixin'
+      );
+    $this-&gt;assertTrue(in_array('getAuthMode', $mixins),
+      '%s: getAuthMode() should be accessible via mixin'
+      );
   }
   
   public function testAuthenticatorsAreCalledAccordingToParamsAfterEhlo()</diff>
      <filename>tests/unit/Swift/Transport/Esmtp/AuthHandlerTest.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5bb64b9ad1baa07212b6b225bd63410acfabf9bf</id>
    </parent>
    <parent>
      <id>7bee6564c10d6487eb09f4ad281ba59a0e3cced5</id>
    </parent>
  </parents>
  <author>
    <name>Fabien Potencier</name>
    <email>fabien.potencier@gmail.com</email>
  </author>
  <url>http://github.com/swiftmailer/swiftmailer/commit/1c342a12441c802f7d906be394bb7509c6ae5eb6</url>
  <id>1c342a12441c802f7d906be394bb7509c6ae5eb6</id>
  <committed-date>2009-09-22T06:27:43-07:00</committed-date>
  <authored-date>2009-09-22T06:27:43-07:00</authored-date>
  <message>Merge commit 'fabpot/ticket-54'

* commit 'fabpot/ticket-54':
  added a setAuthMode() to AuthHandler (refs #54)
  removed constants (they were not used except in the bootstrapping scripts)
  simplified autoloading
  added __toString() methods where a toString() method already exists
  changed all file headers to point to the LGPL license, added Chris copyright
  made some changes to make the license more easy to understand
  removed phpdocumentor from source
  made speed optimization on previous commit
  fixed 'Call-time pass-by-reference' warning in ArrayByteStream (refs #78)</message>
  <tree>7daab24dec0d151212cff948361580afd9c3bcdf</tree>
  <committer>
    <name>Fabien Potencier</name>
    <email>fabien.potencier@gmail.com</email>
  </committer>
</commit>
