Arg [1] : Object $object The object to test the getter setter on Arg [2] : string $method The name of the getter setter method to test Arg [3] : $test_val The value to use to test the set behavior of the method. Example : ok(&TestUtils::test_getter_setter($object, 'type', 'value')); Description: Tests a getter setter method by attempting to set a value and verifying that the newly set value can be retrieved. The old value of the the attribute is restored after the test (providing the method functions correctly). Returntype : boolean - true value on success, false on failure Exceptions : none Caller : test scripts |