Exemplo n.º 1
0
 public function test_createMixed()
 {
     $this->assertCreateOfType(VarType::MIXED, null, false, LiteSetup::createMixed());
     $this->assertCreateOfType(VarType::MIXED, $this, false, LiteSetup::createMixed($this));
     $this->assertCreateOfType(VarType::MIXED, null, true, LiteSetup::createMixed(null));
     $this->assertCreateOfType(VarType::MIXED, null, true, LiteSetup::createMixed(null));
     $this->assertHasAccessRestriction(AccessRestriction::NO_GET, LiteSetup::createMixed(null, AccessRestriction::NO_GET));
 }
Exemplo n.º 2
0
 public function test_fixValue_Mixed()
 {
     $this->assertEquals($this, ValueValidation::fixValue(LiteSetup::createMixed(), $this));
 }