getObject(TaxInvoice::class); } public function testReturnArray() { $object = $this->createObject(); $this->assertInternalType('array', $object->toOptionArray()); } public function testImplementsOptionSourceInterface() { $object = $this->createObject(); $this->assertInstanceOf(OptionSourceInterface::class, $object); } }