type = new BillType(); } /** * @covers Modules\Billing\Models\BillType * @group module */ public function testDefault() : void { self::assertEquals(0, $this->type->getId()); self::assertTrue($this->type->transferStock); } /** * @covers Modules\Billing\Models\BillType * @group module */ public function testL11nInputOutput() : void { $this->type->setL11n('Test1'); self::assertEquals('Test1', $this->type->getL11n()); $this->type->setL11n(new BaseStringL11n('Test2')); self::assertEquals('Test2', $this->type->getL11n()); } }