A Generic Assertion checking class