﻿using JetBrains.dotMemoryUnit;

namespace UsingStyle
{
  public class Sample
  {
    [UnsupportedTest]
    [AssertTraffic(AllocatedObjectsCount = 100500)]
    public void TrafficTest()
    {
      using (dotMemoryUnit.Support())
      {
        // call code producing traffic
      }
    }
  }
}