/// <summary> /// Expects that the Actual type implements the interface provided /// as a generic parameter /// </summary> /// <param name="to">Continuation to operate on</param> /// <param name="customMessage">Custom message to add to failure messages</param> /// <typeparam name="TInterface">Interface type to look for</typeparam> /// <returns></returns> public static IMore <Type> Implement <TInterface>( this ITo <Type> to, string customMessage ) { return(to.AddImplementsMatcher <TInterface>(() => customMessage)); }