public void Test_RemoveTransactionFilter()
 {
     using var context = new DdeContext();
     var filter = new TransactionFilter();
     context.AddTransactionFilter(filter);
     context.RemoveTransactionFilter(filter);
 }
 public void Test_RemoveTransactionFilter_After_Dispose()
 {
     using var context = new DdeContext();
     var filter = new TransactionFilter();
     context.AddTransactionFilter(filter);
     context.Dispose();
     Assert.Throws<ObjectDisposedException>(() => context.RemoveTransactionFilter(filter));
 }
 public void Test_RemoveTransactionFilter_After_Dispose()
 {
     using (DdeContext context = new DdeContext())
     {
         TransactionFilter filter = new TransactionFilter();
         context.AddTransactionFilter(filter);
         context.Dispose();
         context.RemoveTransactionFilter(filter);
     }
 }