Example #1
0
 public void With_Should_Add_OverflowArea_To_Current_Instance()
 {
     var overflowArea = new OverflowArea();
     _sut.With(() => overflowArea);
     Assert.AreEqual(1, _sut._overflowAreas.Count);
     Assert.AreEqual(overflowArea, _sut._overflowAreas[0]);
 }
 public void Setup()
 {
     _sut = OverflowArea.Create("Sample");
 }