Code Duplication    Length = 7-7 lines in 3 locations

tests/OfxParseTest.php 3 locations

@@ 30-36 (lines=7) @@
27
    /**
28
     * @test
29
     */
30
    public function itau()
31
    {
32
        $ofx = OfxParser::loadOfx(__DIR__ . '/fixtures/extrato_itau.ofx');
33
        $this->assertInstanceOf(Ofx::class, $ofx);
34
35
        $this->assertContainsOnlyInstancesOf(OfxMovement::class, $ofx->getMovements());
36
    }
37
38
    /**
39
     * @test
@@ 41-47 (lines=7) @@
38
    /**
39
     * @test
40
     */
41
    public function santander()
42
    {
43
        $ofx = OfxParser::loadOfx(__DIR__ . '/fixtures/extrato_santander.ofx');
44
        $this->assertInstanceOf(Ofx::class, $ofx);
45
46
        $this->assertContainsOnlyInstancesOf(OfxMovement::class, $ofx->getMovements());
47
    }
48
49
    /**
50
     * @test
@@ 52-58 (lines=7) @@
49
    /**
50
     * @test
51
     */
52
    public function caixa()
53
    {
54
        $ofx = OfxParser::loadOfx(__DIR__ . '/fixtures/extrato_caixa.ofx');
55
        $this->assertInstanceOf(Ofx::class, $ofx);
56
57
        $this->assertContainsOnlyInstancesOf(OfxMovement::class, $ofx->getMovements());
58
    }
59
}
60