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)); }