Code Duplication    Length = 10-10 lines in 2 locations

tests/ArchangelTest.php 2 locations

@@ 145-154 (lines=10) @@
142
        $this->assertArraySubset(array('From' => '[email protected]'), $setHeaders);
143
    }
144
145
    public function testSetFromMultiple()
146
    {
147
        $archangel = new Archangel();
148
        $archangel->setFrom('[email protected]');
149
        $archangel->setFrom('[email protected]');
150
        $setHeaders = $this->getProtectedValue($archangel, 'headers');
151
152
        $this->assertArraySubset(array('From' => '[email protected]'), $setHeaders);
153
        $this->assertNotContains('[email protected]', $setHeaders);
154
    }
155
156
    public function testSetFromWithTitle()
157
    {
@@ 174-183 (lines=10) @@
171
        $this->assertArraySubset(array('Reply-To' => '[email protected]'), $setHeaders);
172
    }
173
174
    public function testSetReplyToMultiple()
175
    {
176
        $archangel = new Archangel();
177
        $archangel->setReplyTo('[email protected]');
178
        $archangel->setReplyTo('[email protected]');
179
        $setHeaders = $this->getProtectedValue($archangel, 'headers');
180
181
        $this->assertArraySubset(array('Reply-To' => '[email protected]'), $setHeaders);
182
        $this->assertNotContains('[email protected]', $setHeaders);
183
    }
184
185
    public function testSetReplyToWithTitle()
186
    {