public void With() { Button buttonWithSuperLongName = new Button(); // lots of code in between buttonWithSuperLongName.With((b) => { b.Width = 35; b.Text = "I eat cupcakes"; }); Assert.AreEqual(35, buttonWithSuperLongName.Width); Assert.AreEqual("I eat cupcakes", buttonWithSuperLongName.Text); }