assertSame($message->table, $table); $this->assertSame($message->operation, $operation); $this->assertSame($message->type, $type); $this->assertSame($message->text, $text); } /** * @return array|string>> * @psalm-return array{mixed[], string, string, string, string}[] */ public static function providerForTestFromArray(): array { return [ [[], '', '', '', ''], [ ['Table' => 'sakila.actor', 'Op' => 'analyze', 'Msg_type' => 'status', 'Msg_text' => 'OK'], 'sakila.actor', 'analyze', 'status', 'OK', ], [['Table' => false, 'Op' => false, 'Msg_type' => false, 'Msg_text' => false], '', '', '', ''], ]; } }