original_string: public function elementShouldNotHaveClass($selector, $class)
      {
          $session = $this->getSession();
          $page = $session->getPage();
          $element = $page->find('css', $selector);
  
          if (!$element) {
              throw new ElementNotFoundException($session, 'Element "'.$selector.'"');
          }
  
          \PHPUnit_Framework_TestCase::assertFalse($element->hasClass($class));
      }
code: public function elementShouldNotHaveClass($selector, $class)
      {
          $session = $this->getSession();
          $page = $session->getPage();
          $element = $page->find('css', $selector);
  
          if (!$element) {
              throw new ElementNotFoundException($session, 'Element "'.$selector.'"');
          }
  
          \PHPUnit_Framework_TestCase::assertFalse($element->hasClass($class));
      }
code_tokens: public function elementShouldNotHaveClass ( $ selector , $ class ) { $ session = $ this -> getSession ( ) ; $ page = $ session -> getPage ( ) ; $ element = $ page -> find ( 'css' , $ selector ) ; if ( ! $ element ) { throw new ElementNotFoundException ( $ session , 'Element "' . $ selector . '"' ) ; } \ PHPUnit_Framework_TestCase :: assertFalse ( $ element -> hasClass ( $ class ) ) ; }
docstring: Checks an element doesn't have a class
  
  @Then /^"([^"]*)" element should not have class "([^"]*)"$/
  
  @return void
docstring_tokens: Checks an element doesn t have a class