You are here

protected function ManagedFileBase::assertNoFieldValue in Managed File 7

Check that field has not a value.

Parameters

string|array $name: Field name.

mixed|null $value: Field value.

Return value

bool TRUE on pass, FALSE on fail.

File

tests/managed_file_base.test, line 83
Managed File Base (Test).

Class

ManagedFileBase
Class ManagedFileBase.

Code

protected function assertNoFieldValue($name, $value = NULL) {
  return $this
    ->assertNoFieldByXpath($this
    ->getFieldXpath($name), $value);
}