public function fieldNotExists($field, TraversableElement $container = null)
    {
        $container = $container ?: $this->session->getPage();
        $node = $container->findField($field);

        $this->assert(null === $node, sprintf('A field "%s" appears on this page, but it should not.', $field));
    }
public function fieldNotExists($field, TraversableElement $container = null)
    {
        $container = $container ?: $this->session->getPage();
        $node = $container->findField($field);

        $this->assert(null === $node, sprintf('A field "%s" appears on this page, but it should not.', $field));
    }
public function fieldNotExists ( $ field , TraversableElement $ container = null ) { $ container = $ container ? : $ this -> session -> getPage ( ) ; $ node = $ container -> findField ( $ field ) ; $ this -> assert ( null === $ node , sprintf ( 'A field "%s" appears on this page, but it should not.' , $ field ) ) ; }
Checks that specific field does not exists on the current page.

@param string             $field     field id|name|label|value
@param TraversableElement $container document to check against

@throws ExpectationException
Checks that specific field does not exists on the current page .