'use strict';

var Database          = require('dbjs')
  , defineFormSection = require('../../../model/form-section');

module.exports = function (t, a) {
	var db = new Database()
	  , FormSection = defineFormSection(db)
	  , PropertyGroupProcess = t(db)

	  , process = new PropertyGroupProcess();

	process.map._descriptorPrototype_.type = FormSection;
	process.define('applicable', { type: FormSection });

	a(process.progress, 1);
	a(process.weight, 0);

	process.map.define('test', { nested: true });
	a(process.progress, 1);
	a(process.weight, 0);
};

@@ -156,16 +156,34 @@
 %09var db 
+                  
 = new Da
@@ -208,16 +208,25 @@
 Section 
+         
 = define
@@ -289,16 +289,29 @@
 process 
+             
 = new Pr
@@ -586,12 +586,289 @@
 ght, 0);
+%0A%0A%09a(process.status, undefined);%0A%09a(process.isRejected, false);%0A%0A%09process.status = 'invalid';%0A%09a(process.status, 'invalid');%0A%09a(process.isRejected, false);%0A%0A%09process.rejectReason = 'test';%0A%09a(process.isRejected, true);%0A%0A%09process.status = 'valid';%0A%09a(process.isRejected, false);
 %0A%7D;%0A

Add tests to new PropertyGroupsProcess properties