UClientUnitTest::ValidateUnitFlags

Internal base implementation and utility functions for client unit tests Validates, both at compile time (template params) or at runtime (function params), that the specified flags are valid.