[ 'array-items' => [ [ 'name' => 'copyright' ] ] ] ]; $out = $partial->decorateFooterData( $data ); $this->assertArraySubmapSame( [ 'data-info' => [ 'array-items' => [ [ 'name' => 'copyright', 'label' => wfMessage( 'citizen-page-info-copyright' )->text() ] ], ] ], $out ); } }