PopTest\Form\CheckboxTest::testSetMarkedSingle PHP Method

testSetMarkedSingle() public method

public testSetMarkedSingle ( )
    public function testSetMarkedSingle()
    {
        $c = new Checkbox('colors', array('Red' => 'Red', 'Blue' => 'Blue', 'Green' => 'Green'), 'Green');
        $this->assertEquals('Green', $c->getMarked());
    }