public function testLowercasesAllAttributes() { $attrs = ['A-B' => true, 'C-D' => 'C-D']; $expected = 'a-b="a-b" c-d="C-D"'; $this->assertEquals($expected, elgg_format_attributes($attrs)); }