Moved over assert extension method.