mageekguy\atoum\tests\units\test::test__set PHP Method

test__set() public method

public test__set ( )
    public function test__set()
    {
        $this->given($test = new emptyTest(), $test->setAssertionManager($assertionManager = new \mock\mageekguy\atoum\test\assertion\manager()))->if($test->{$event = uniqid()} = $handler = function () {
        })->then->mock($assertionManager)->call('setHandler')->withArguments($event, $handler)->once();
    }