public void Should_not_initialize_records_when_using_a_real_CRM_instance()
 {
     var ctx = new XrmRealContext();
     ctx.Initialize(new List<Entity>
     {
         new Account() { Id = Guid.NewGuid() }
     });
     Assert.Equal(0, ctx.Data.Count);
 }
Exemplo n.º 2
0
        public void Should_not_initialize_records_when_using_a_real_CRM_instance()
        {
            var ctx = new XrmRealContext();

            ctx.Initialize(new List <Entity>
            {
                new Account {
                    Id = Guid.NewGuid()
                }
            });
            Assert.Equal(0, ctx.Data.Count);
        }