Code Duplication    Length = 11-11 lines in 2 locations

tests/ArchangelTest.php 2 locations

@@ 146-156 (lines=11) @@
143
        $this->assertArraySubset(array('From' => '[email protected]'), $headers);
144
    }
145
146
    public function testSetFromMultiple()
147
    {
148
        $archangel = new Archangel();
149
        $archangel->setFrom('[email protected]');
150
        $archangel->setFrom('[email protected]');
151
        $headersProperty = $this->getProtectedProperty('headers');
152
        $headers = $headersProperty->getValue($archangel);
153
154
        $this->assertArraySubset(array('From' => '[email protected]'), $headers);
155
        $this->assertNotContains('[email protected]', $headers);
156
    }
157
158
    public function testSetFromWithTitle()
159
    {
@@ 178-188 (lines=11) @@
175
        $this->assertArraySubset(array('Reply-To' => '[email protected]'), $headers);
176
    }
177
178
    public function testSetReplyToMultiple()
179
    {
180
        $archangel = new Archangel();
181
        $archangel->setReplyTo('[email protected]');
182
        $archangel->setReplyTo('[email protected]');
183
        $headersProperty = $this->getProtectedProperty('headers');
184
        $headers = $headersProperty->getValue($archangel);
185
186
        $this->assertArraySubset(array('Reply-To' => '[email protected]'), $headers);
187
        $this->assertNotContains('[email protected]', $headers);
188
    }
189
190
    public function testSetReplyToWithTitle()
191
    {