public function testCanSetValueObscuredFlag() { $this->testObscureValueFlagFalseByDefault(); $this->validator->setValueObscured(true); $this->assertTrue($this->validator->isValueObscured()); $this->validator->setValueObscured(false); $this->assertFalse($this->validator->isValueObscured()); }