public void ShouldLightThirdBulbWhenIndex2IsProvided() { //GIVEN var realDisplay = Substitute.For <Display>(); var driver = CompositionRoot.CreateDriver(realDisplay); //WHEN driver.Send(2); //THEN realDisplay.Received(1).Put( "...", "..|", "...", "...", "..."); }
public void ShouldLighNoBulbsWhenEmptyArrayIsProvided() { //GIVEN var realDisplay = Substitute.For <Display>(); var driver = CompositionRoot.CreateDriver(realDisplay); //WHEN driver.Send(); //THEN realDisplay.Received(1).Put( "...", "...", "...", "...", "..."); }