object = $this->getMockBuilder(PaymentDataInstallments::class)->getMockForAbstractClass(); $this->assertTrue(class_exists(PaymentDataInstallments::class)); $this->assertInstanceOf(PaymentDataInstallments::class, $this->object); } /** * Test property "type" * * @return void * @throws Exception */ public function testType(): void { $instance = $this->getTestInstance(); self::assertNotNull($instance->getType()); self::assertNotNull($instance->type); self::assertContains($instance->getType(), ['installments']); self::assertContains($instance->type, ['installments']); } }