public void MezzorellaSticksToStringShouldGiveNameForSize(Size size) { MezzorellaSticks ms = new MezzorellaSticks(); ms.Size = size; Assert.Equal($"{size} Mezzorella Sticks", ms.ToString()); }
public void CorrectMediumToString() { MezzorellaSticks m = new MezzorellaSticks(); m.MakeMedium(); Assert.Equal("Medium Mezzorella Sticks", m.ToString()); }
public void CorrectLargeToString() { MezzorellaSticks m = new MezzorellaSticks(); m.MakeLarge(); Assert.Equal("Large Mezzorella Sticks", m.ToString()); }
public void MezzorellaSticksDescriptionForSize(Size size) { MezzorellaSticks ms = new MezzorellaSticks(); ms.Size = size; Assert.Equal($"{size} Mezzorella Sticks", ms.ToString()); }
public void CorrectToString() { MezzorellaSticks ms = new MezzorellaSticks(); ms.Size = Size.Large; Assert.Equal(ms.Size.ToString() + " Mezzorella Sticks", ms.ToString()); }
public void DescriptionShouldGiveNameForSize(Size size) { MezzorellaSticks ms = new MezzorellaSticks { Size = size }; Assert.Equal($"{size} Mezzorella Sticks", ms.ToString()); }
public void DescriptionMatchesToString() { MezzorellaSticks ms = new MezzorellaSticks(); Assert.Equal(ms.Description, ms.ToString()); }
public void ShouldHaveCorrectToString() { MezzorellaSticks ms = new MezzorellaSticks(); Assert.Equal(($"{ms.Size} Mezzorella Sticks"), ms.ToString()); }
public void CorrectDefaultToString() { MezzorellaSticks m = new MezzorellaSticks(); Assert.Equal("Small Mezzorella Sticks", m.ToString()); }
public void MezzorellaSticksShouldHaveCorrectDescription() { MezzorellaSticks dr = new MezzorellaSticks(); Assert.Equal(dr.Description, dr.ToString()); }
public void CorrectDescription() { MezzorellaSticks ms = new MezzorellaSticks(); Assert.Equal(ms.ToString(), ms.Description); }
public void MezzorellaSticksShouldUpdateComponents() { MezzorellaSticks dr = new MezzorellaSticks(); Assert.Equal(dr.Description, dr.ToString()); }