tests/NotifyStatusPollerTest/Unit/Command/Model/UpdateDocumentStatusTest.php
/**
     * @param array<string,string> $data
     * @param string               $expectedMessage
     * @dataProvider commandDataProvider
     */
@param array $data
@param string               $expectedMessage
@dataProvider commandDataProvider
@param array $data @param string $expectedMessage @dataProvider commandDataProvider
public function testFromArrayThrowsExceptionFailure(array $data, string $expectedMessage): void
    {
        self::expectException(AggregateValidationException::class);
        self::expectExceptionMessage($expectedMessage);
        new UpdateDocumentStatus($data);
    }
public function testFromArrayThrowsExceptionFailure ( array $ data , string $ expectedMessage ) : void { self :: expectException ( AggregateValidationException :: class ) ; self :: expectExceptionMessage ( $ expectedMessage ) ; new UpdateDocumentStatus ( $ data ) ; }
@param array<string,string> $data
 @param string               $expectedMessage
 @dataProvider commandDataProvider
@param array<string string > $data @param string $expectedMessage @dataProvider commandDataProvider