public void CreateSimpleTypeWithExplicitDefaultConstructor() { EasyType typebuilder = new EasyType( module, "mytype" ); typebuilder.CreateDefaultConstructor(); Type newType = typebuilder.BuildType(); Assert.IsNotNull( newType ); object instance = Activator.CreateInstance( newType ); Assert.IsNotNull( instance ); RunPEVerify(); }