Gc\Layout\CollectionTest::setUp PHP Method

setUp() protected method

This method is called before a test is executed.
protected setUp ( ) : void
return void
    protected function setUp()
    {
        $model = Model::fromArray(array('name' => 'name-collection-test', 'identifier' => 'identifier-collection-test', 'description' => 'description-collection-test', 'content' => 'content-collection-test'));
        $model->save();
        $this->object = new Collection();
    }