30 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
31 ilUnitUtil::performInitialisation();
39 include_once
'Services/Membership/classes/class.ilMemberAgreement.php';
46 $agree->setAccepted(
true);
51 $sta = $agree->isAccepted();
52 $this->assertEquals($sta,
true);
57 $sta = $agree->isAccepted();
58 $this->assertEquals($sta,
false);
61 $this->assertEquals($sta,
false);
65 $agree->setAccepted(
true);
69 $this->assertEquals($sta,
true);
72 $this->assertEquals($sta,
true);