NAME

Test2::Compare::Object - Representation of an object during deep comparison.

DESCRIPTION

This class lets you specify an expected object in a deep comparison. You can check the fields/elements of the underlying reference, call methods to verify results, and do meta checks for object type and ref type.

METHODS

$class = $obj->meta_class

The meta-class to be used when checking the object type. This is mainly listed because it is useful to override for specialized object subclasses.