This commit is contained in:
@@ -29,17 +29,29 @@ final class VerbraucherBasisTraitTest extends TestCase
|
||||
[
|
||||
'Aktiv',
|
||||
'Istleistung',
|
||||
'Leistungsquelle',
|
||||
'Sollleistung',
|
||||
'SollwertGueltig',
|
||||
'Verfuegbar',
|
||||
'AenderungMoeglich',
|
||||
'Stoerung',
|
||||
'Stoertext',
|
||||
],
|
||||
array_keys($modul->variablen)
|
||||
);
|
||||
self::assertSame(['Aktiv'], $modul->aktionen);
|
||||
|
||||
$modul->registriereDiagnose();
|
||||
self::assertSame(
|
||||
[
|
||||
'Aktiv',
|
||||
'Istleistung',
|
||||
'Sollleistung',
|
||||
'Stoerung',
|
||||
'Stoertext',
|
||||
'Leistungsquelle',
|
||||
'SollwertGueltig',
|
||||
'Verfuegbar',
|
||||
'AenderungMoeglich',
|
||||
],
|
||||
array_keys($modul->variablen)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,6 +73,11 @@ final class VerbraucherBasisDummy
|
||||
$this->registriereVerbraucherBasis();
|
||||
}
|
||||
|
||||
public function registriereDiagnose(): void
|
||||
{
|
||||
$this->registriereVerbraucherDiagnose();
|
||||
}
|
||||
|
||||
public function RegisterPropertyInteger(string $ident, int $standard): void
|
||||
{
|
||||
$this->properties[$ident] = $standard;
|
||||
|
||||
Reference in New Issue
Block a user