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