Cviebrock\EloquentTaggable\Test\StaticTests::setUp PHP Method

setUp() public method

Setup the test environment.
public setUp ( ) : void
return void
    public function setUp()
    {
        parent::setUp();
        $this->testModel->tag('Apple,Banana,Cherry');
        $this->testModelAB = $this->newModel()->tag('Apple,Banana,Cherry');
        // Tag another model
        $this->testDummy = TestDummy::create(['title' => 'title']);
        $this->testDummy->tag('Durian');
    }