public function assertNotExists($pointers, string $message = ''): self
    {
        $unexpected = collect((array) $pointers)->filter(function ($pointer) {
            return $this->has($pointer);
        })->implode(', ');

        PHPUnitAssert::assertEmpty($unexpected, $message ?: "Members [{$unexpected}] exist.");

        return $this;
    }
public function assertNotExists($pointers, string $message = ''): self
    {
        $unexpected = collect((array) $pointers)->filter(function ($pointer) {
            return $this->has($pointer);
        })->implode(', ');

        PHPUnitAssert::assertEmpty($unexpected, $message ?: "Members [{$unexpected}] exist.");

        return $this;
    }
public function assertNotExists ( $ pointers , string $ message = '' ) : self { $ unexpected = collect ( ( array ) $ pointers ) -> filter ( function ( $ pointer ) { return $ this -> has ( $ pointer ) ; } ) -> implode ( ', ' ) ; PHPUnitAssert :: assertEmpty ( $ unexpected , $ message ? : "Members [{$unexpected}] exist." ) ; return $ this ; }
Assert that the provided members do not exist.

@param string|string[] $pointers
@param string $message
@return Document
Assert that the provided members do not exist .