public function assert(string $path, string $command): bool
    {
        if ($this->invokeAssertions($path, $command)) {
            return true;
        }
        throw new Exception(
            sprintf(
                'Assertion failed in "%s"',
                $path
            ),
            1539625084
        );
    }
public function assert(string $path, string $command): bool
    {
        if ($this->invokeAssertions($path, $command)) {
            return true;
        }
        throw new Exception(
            sprintf(
                'Assertion failed in "%s"',
                $path
            ),
            1539625084
        );
    }
public function assert ( string $ path , string $ command ) : bool { if ( $ this -> invokeAssertions ( $ path , $ command ) ) { return true ; } throw new Exception ( sprintf ( 'Assertion failed in "%s"' , $ path ) , 1539625084 ) ; }
Executes assertions based on all contained assertions.

@param string $path
@param string $command
@return bool
@throws Exception
Executes assertions based on all contained assertions .