public static void InitializeRandom(this ITypeTemplate template, Authentication authentication) { var typeName = RandomUtility.NextIdentifier(); template.SetTypeName(authentication, typeName); if (RandomUtility.Within(50) == true) { template.SetIsFlag(authentication, RandomUtility.NextBoolean()); } if (RandomUtility.Within(50) == true) { template.SetComment(authentication, RandomUtility.NextString()); } template.AddRandomMembers(authentication); }