public function testInverse()
 {
     $navbar = Navbar::inverse();
     $matcher = $this->getBasicMatcher();
     $matcher['attributes']['class'] .= ' navbar-inverse';
     $this->assertTag($matcher, $navbar);
 }
Exemple #2
0
 /**
  * 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);
 }
Exemple #3
0
    public function testInverse()
    {
        $navbar = Navbar::inverse();
        $matcher = $this->getBasicMatcher(false, true);
        $this->assertHTML($matcher, $navbar);

    }