53 if ($version == ApiVersion::V1) {
56 "bulk_reused" =>
false,
57 "ojo_decider" => (1==1),
58 "conclude_license_type" =>
" Permissive "
63 "bulkReused" =>
false,
64 "ojoDecider" => (1==1),
65 "concludeLicenseType" =>
" Permissive "
69 $expectedObject =
new Decider(
true,
false,
false,
true,
"Permissive");
72 $actualObject->setUsingArray($deciderArray, $version);
74 $this->assertEquals($expectedObject, $actualObject);
106 if ($version == ApiVersion::V1) {
108 "nomos_monk" =>
true,
109 "bulk_reused" =>
false,
110 "new_scanner" =>
false,
111 "ojo_decider" =>
true,
112 "conclude_license_type" =>
"Permissive"
117 "bulkReused" =>
false,
118 "newScanner" =>
false,
119 "ojoDecider" =>
true,
120 "concludeLicenseType" =>
"Permissive"
125 $actualObject->setNomosMonk(
true);
126 $actualObject->setOjoDecider(
true);
127 $actualObject->setConcludeLicenseType(
" Permissive ");
129 $this->assertEquals($expectedArray, $actualObject->getArray($version));
testSetUsingArray($version)