src/Concerns/MakesAssertions.php
public function assertDisabled($field)
    {
        $element = $this->resolver->resolveForField($field);

        PHPUnit::assertFalse(
            $element->isEnabled(),
            "Expected element [{$field}] to be disabled, but it wasn't."
        );

        return $this;
    }
public function assertDisabled($field)
    {
        $element = $this->resolver->resolveForField($field);

        PHPUnit::assertFalse(
            $element->isEnabled(),
            "Expected element [{$field}] to be disabled, but it wasn't."
        );

        return $this;
    }
public function assertDisabled ( $ field ) { $ element = $ this -> resolver -> resolveForField ( $ field ) ; PHPUnit :: assertFalse ( $ element -> isEnabled ( ) , "Expected element [{$field}] to be disabled, but it wasn't." ) ; return $ this ; }
Assert that the given field is disabled.

@param  string  $field
@return $this
Assert that the given field is disabled .