public function testInverse() { $navbar = Navbar::inverse(); $matcher = $this->getBasicMatcher(); $matcher['attributes']['class'] .= ' navbar-inverse'; $this->assertTag($matcher, $navbar); }
/** * Sets the navbar to be inverse * * @param string $position * @param array $attributes * @return $this * @static */ public static function inverse($position = null, $attributes = array()) { return \Bootstrapper\Navbar::inverse($position, $attributes); }
public function testInverse() { $navbar = Navbar::inverse(); $matcher = $this->getBasicMatcher(false, true); $this->assertHTML($matcher, $navbar); }