public void By_Returns_An_Instance_Of_IExceptionHandlerData() { var result = Replace.By <Exception>(Message); Assert.IsNotNull(result); Assert.IsInstanceOfType(result, typeof(IExceptionHandlerData)); }
public void By_Returns_An_Instance_Of_IExceptionHandlerData_Which_Generates_An_Instance_Of_ReplaceHandler() { var result = Replace.By <Exception>(Message) .GetExceptionHandler(); Assert.IsNotNull(result); Assert.IsInstanceOfType(result, typeof(ReplaceHandler)); }