Code Duplication    Length = 8-8 lines in 3 locations

Test/Unit/Block/Onepage/DebitTest.php 1 location

@@ 115-122 (lines=8) @@
112
        $this->assertFalse($result);
113
    }
114
115
    public function testGetCheckoutUrl()
116
    {
117
        $expected = 'http://testdomain.com';
118
        $this->urlBuilder->method('getUrl')->willReturn($expected);
119
120
        $result = $this->classToTest->getCheckoutUrl();
121
        $this->assertEquals($expected, $result);
122
    }
123
124
    public function testGetErrorMessage()
125
    {

Test/Unit/Block/Onepage/SuccessTest.php 1 location

@@ 120-127 (lines=8) @@
117
        $this->assertFalse($result);
118
    }
119
120
    public function testGetMandateDownloadUrl()
121
    {
122
        $expected = 'http://testdomain.com';
123
        $this->urlBuilder->method('getUrl')->willReturn($expected);
124
125
        $result = $this->classToTest->getMandateDownloadUrl();
126
        $this->assertEquals($expected, $result);
127
    }
128
129
    public function testGetInstructionNotes()
130
    {

Test/Unit/Block/Paypal/ExpressButtonTest.php 1 location

@@ 80-87 (lines=8) @@
77
        $this->assertEquals($expected, $result);
78
    }
79
80
    public function testGetPayPalExpressLink()
81
    {
82
        $expected = 'http://testdomain.com';
83
        $this->urlBuilder->method('getUrl')->willReturn($expected);
84
85
        $result = $this->classToTest->getPayPalExpressLink();
86
        $this->assertEquals($expected, $result);
87
    }
88
89
    public function testGetPayPalExpressLogoUrl()
90
    {