public void Perform_DiscardsNewDataContainer()
        {
            var newOrder = _transaction.ExecuteInScope(() => Order.NewObject());
            var deleteNewOrderCommand = new DeleteCommand(_transaction, newOrder, _transactionEventSinkWithMock);

            deleteNewOrderCommand.Perform();

            Assert.That(_transaction.IsInvalid(newOrder.ID), Is.True);
        }
        public void Perform_PerformsEndPointDelete()
        {
            _deleteOrder1Command.Perform();

            _transaction.ExecuteInScope(() => Assert.That(_order1.OrderItems, Is.Empty));
        }