DiffMatchPatch\PatchTest::setUp PHP Method

setUp() protected method

protected setUp ( )
    protected function setUp()
    {
        mb_internal_encoding('UTF-8');
        $this->d = new Diff();
        $this->m = new Match();
        // Assumes that Match->maxBits is 32.
        $this->m->setMaxBits(32);
        $this->p = new Patch($this->d, $this->m);
    }