/// <summary>
/// Clears the loaded class definitions and reloads them. Usually this only needs
/// to be done once per test fixture, except if there are individual tests that
/// modify the class definitions.
/// </summary>
public static void RefreshClassDefs()
{
ClassDef.ClassDefs.Clear();
// ClassDefCol classDefs = new XmlClassDefsLoader(BOBroker.GetClassDefsXml(), new DtdLoader()).LoadClassDefs();
var assemblyTypeSource = new AssemblyTypeSource(typeof (Car));
var loader = new ReflectionClassDefLoader(assemblyTypeSource);
ClassDef.ClassDefs.Add(loader.LoadClassDefs());
}