delegate testing method