public void CanGetAssembly() { DynamicTypeManager mgr = new DynamicTypeManager(new DynamicTypeDataRepository(), DataSettings.Default); mgr.DynamicTypeDataRepository.Query <DynamicTypeDescriptor>(d => d.Id > 0).Each(d => mgr.DynamicTypeDataRepository.Delete(d)); mgr.DynamicTypeDataRepository.Query <DynamicTypePropertyDescriptor>(p => p.Id > 0).Each(p => mgr.DynamicTypeDataRepository.Delete(p)); string testType = nameof(CanAddPropertyToType); mgr.AddType(testType); string testProperty = "SomeProperty"; string testProperty2 = "BooleanProperty"; DynamicTypePropertyDescriptor prop = mgr.AddProperty(testType, testProperty, "String"); DynamicTypePropertyDescriptor prop2 = mgr.AddProperty(testType, testProperty2, "Boolean"); Assembly ass = mgr.GetAssembly(); Expect.IsNotNull(ass); }