Should be `: $this->_attributes['repositoryFactory'] = new DefaultRepositoryFactory();` I guess