public void BreakIsExpected() { Expression actual = TestObject.Break(TestVoidLabel); Assert.IsInstanceOfType(actual, typeof(GotoExpression)); GotoExpression actualExpression = (GotoExpression)actual; Assert.AreEqual(TestVoidLabel, actualExpression.Target); Assert.IsNull(actualExpression.Value); }