is( $thing->foo(), 42, "foo is 42" ) or diag $thing->as_string();