public void AssertEqual(string approvedContent, string receivedContent)
{
try
{
Type type = Type.GetType(assertClass);
var parameters = new[] { approvedContent, receivedContent };
InvokeEqualsMethod(type, parameters);
}
catch (TargetInvocationException e)
{
throw e.GetBaseException();
}
}