![]() |
![]()
| ![]() |
![]()
NAMEMock::Quick::Object::Control - Control a mocked object after creation DESCRIPTIONControl a mocked object after creation. SYNOPSISmy $obj = Mock::Quick::Object->new( ... ); my $control = Mock::Quick::Object::Control->new( $obj ); $control->set_methods( foo => sub { 'foo' }); $control->set_attributes( bar => 'baz' ); # Make an attribute exist so that it can be used for get/set operations. $control->set_attributes( empty => undef ); METHODS
AUTHORSChad Granum exodist7@gmail.com COPYRIGHTCopyright (C) 2011 Chad Granum Mock-Quick is free software; Standard perl licence. Mock-Quick is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
|