public function testCustom() { $badge = Badge::custom('success', 'foo', array('class' => 'bar')); $match = $this->createMatcher('success'); $this->assertHTML($match, $badge); }
/** * Adds the given classes to attributes * * @param array $classes * @return $this * @static */ public static function addClass($classes) { //Method inherited from \Bootstrapper\RenderedObject return \Bootstrapper\Badge::addClass($classes); }