public function PaymentStatusFormTest::testActions in Payment 8.2
@covers ::actions
File
- tests/
src/ Unit/ Entity/ Payment/ PaymentStatusFormTest.php, line 324
Class
- PaymentStatusFormTest
- @coversDefaultClass \Drupal\payment\Entity\Payment\PaymentStatusForm
Namespace
Drupal\Tests\payment\Unit\Entity\PaymentCode
public function testActions() {
$form = [];
$form_state = $this
->createMock(FormStateInterface::class);
$method = new \ReflectionMethod($this->sut, 'actions');
$method
->setAccessible(TRUE);
$actions = $method
->invokeArgs($this->sut, array(
$form,
$form_state,
));
$this
->assertIsArray($actions);
}