public function testCustom() { $badge = Badge::custom('success', 'foo', array('class' => 'bar')); $match = $this->createMatcher('success'); $this->assertHTML($match, $badge); }