Code Duplication    Length = 10-10 lines in 2 locations

lib/Tests/Fhp/DataTypes/KtiTest.php 1 location

@@ 5-14 (lines=10) @@
2
3
namespace Fhp\DataTypes;
4
5
class KtiTest extends \PHPUnit_Framework_TestCase
6
{
7
    public function test_to_string()
8
    {
9
        $d = new Kti('someiban', 'somebic', 'someaccountNumber', 'sub', new Kik('DE', '72191600'));
10
11
        $this->assertEquals('someiban:somebic:someaccountNumber:sub:DE:72191600', (string) $d);
12
        $this->assertEquals('someiban:somebic:someaccountNumber:sub:DE:72191600', $d->toString());
13
    }
14
}
15

lib/Tests/Fhp/DataTypes/KtvTest.php 1 location

@@ 5-14 (lines=10) @@
2
3
namespace Fhp\DataTypes;
4
5
class KtvTest extends \PHPUnit_Framework_TestCase
6
{
7
    public function test_to_string()
8
    {
9
        $d = new Ktv('123123123', 'sub', new Kik('DE', '72191600'));
10
11
        $this->assertEquals('123123123:sub:DE:72191600', (string) $d);
12
        $this->assertEquals('123123123:sub:DE:72191600', $d->toString());
13
    }
14
}
15