public void DoWhileStatementRequiresStatement() { var d = new DoWhileStatement(JS.Null(), null); Expect.Throw<InvalidOperationException>(() => d.ToString()); }
public void DoWhileStatementRequiresCondition() { var d = new DoWhileStatement(); Expect.Throw <InvalidOperationException>(() => d.ToString()); }
public void DoWhileStatementRequiresCondition() { var d = new DoWhileStatement(); Expect.Throw<InvalidOperationException>(() => d.ToString()); }
public void DoWhileStatementRequiresStatement() { var d = new DoWhileStatement(JS.Null(), null); Expect.Throw <InvalidOperationException>(() => d.ToString()); }