Gc\User\AclTest::setUp PHP Method

setUp() protected method

This method is called before a test is executed.
protected setUp ( ) : void
return void
    protected function setUp()
    {
        $this->user = Model::fromArray(array('lastname' => 'Test', 'firstname' => 'Test', 'email' => '[email protected]', 'login' => 'test-user-model', 'user_acl_role_id' => 1));
        $this->user->setPassword('test-user-model-password');
        $this->user->save();
        $this->object = new Acl($this->user);
    }