Amss.Boilerplate.Tests.Business.PartnerManagerTests.Delete C# (CSharp) Метод

Delete() приватный Метод

private Delete ( ) : void
Результат void
        public void Delete()
        {
            var manager = this.Locator.GetInstance<IPartnerManager>();
            var instance = manager.Create(this.CreateTestPartner());

            manager.Delete(instance);

            Assert.Throws<ObjectNotFoundException>(() => manager.Load(instance.Id));
        }