/// <summary>
 /// Assert that the provided code throws an exception of the given type
 /// </summary>
 /// <param name="continuation">Continuation to operate on</param>
 /// <param name="expected">Expected exception type</param>
 /// <param name="customMessage">Custom message to include when this expectation fails</param>
 /// <returns>Fluency extension</returns>
 public static IThrowAndContinuation <Exception> Type(
     this IWithAfterThrowContinuation <Exception> continuation,
     Type expected,
     string customMessage)
 {
     return(continuation.Type(expected, () => customMessage));
 }
 /// <summary>
 /// Assert that the provided code throws an exception of the given type
 /// </summary>
 /// <param name="continuation">Continuation to operate on</param>
 /// <param name="expected">Expected exception type</param>
 /// <returns>Fluency extension</returns>
 public static IThrowAndContinuation <Exception> Type(
     this IWithAfterThrowContinuation <Exception> continuation,
     Type expected)
 {
     return(continuation.Type(expected, null as string));
 }