ClassName !== CMSMainTest_ClassA::class) { throw new ValidationException("Class saved with incorrect ClassName"); } } }