Test/Unit/Block/Info/BasicTest.php 1 location
|
@@ 98-107 (lines=10) @@
|
95 |
|
$this->classToTest->setInfo($this->info); |
96 |
|
} |
97 |
|
|
98 |
|
public function testPrepareSpecificInformation() |
99 |
|
{ |
100 |
|
$this->info->method('getLastTransId')->willReturn('12345'); |
101 |
|
|
102 |
|
$result = $this->classToTest->getSpecificInformation(); |
103 |
|
$this->assertArrayHasKey('IBAN:', $result); |
104 |
|
|
105 |
|
$result = $this->classToTest->getSpecificInformation(); |
106 |
|
$this->assertNotEmpty($result); |
107 |
|
} |
108 |
|
|
109 |
|
public function testPrepareSpecificInformationNoLastTransId() |
110 |
|
{ |
Test/Unit/Block/Info/ClearingReferenceTest.php 1 location
|
@@ 94-103 (lines=10) @@
|
91 |
|
$this->classToTest->setInfo($this->info); |
92 |
|
} |
93 |
|
|
94 |
|
public function testPrepareSpecificInformation() |
95 |
|
{ |
96 |
|
$this->info->method('getLastTransId')->willReturn('12345'); |
97 |
|
|
98 |
|
$result = $this->classToTest->getSpecificInformation(); |
99 |
|
$this->assertArrayHasKey('IBAN:', $result); |
100 |
|
|
101 |
|
$result = $this->classToTest->getSpecificInformation(); |
102 |
|
$this->assertNotEmpty($result); |
103 |
|
} |
104 |
|
|
105 |
|
public function testPrepareSpecificInformationNoLastTransId() |
106 |
|
{ |
Test/Unit/Block/Info/DebitTest.php 1 location
|
@@ 87-96 (lines=10) @@
|
84 |
|
$this->classToTest->setInfo($this->info); |
85 |
|
} |
86 |
|
|
87 |
|
public function testPrepareSpecificInformation() |
88 |
|
{ |
89 |
|
$this->info->method('getLastTransId')->willReturn('12345'); |
90 |
|
|
91 |
|
$result = $this->classToTest->getSpecificInformation(); |
92 |
|
$this->assertArrayHasKey('IBAN:', $result); |
93 |
|
|
94 |
|
$result = $this->classToTest->getSpecificInformation(); |
95 |
|
$this->assertNotEmpty($result); |
96 |
|
} |
97 |
|
|
98 |
|
public function testPrepareSpecificInformationNoLastTransId() |
99 |
|
{ |
Test/Unit/Block/Info/SafeInvoiceTest.php 1 location
|
@@ 93-102 (lines=10) @@
|
90 |
|
$this->classToTest->setInfo($this->info); |
91 |
|
} |
92 |
|
|
93 |
|
public function testPrepareSpecificInformation() |
94 |
|
{ |
95 |
|
$this->info->method('getLastTransId')->willReturn('12345'); |
96 |
|
|
97 |
|
$result = $this->classToTest->getSpecificInformation(); |
98 |
|
$this->assertArrayHasKey('IBAN:', $result); |
99 |
|
|
100 |
|
$result = $this->classToTest->getSpecificInformation(); |
101 |
|
$this->assertNotEmpty($result); |
102 |
|
} |
103 |
|
|
104 |
|
public function testPrepareSpecificInformationNoLastTransId() |
105 |
|
{ |