Can I mix Assert and Act steps? Is AAA more oriented than the rule? Or am I missing something?
Here is my test:
[TestMethod] public void CancelButtonSelected_DontCancelTwiceThenCancel_DialogCloses() {
Therefore, I call the method 3 times. After each call, I want to make sure that we really did not cancel the dialog. Then, on the third call, the dialogue should be canceled.
Is it "legal" to use AAA syntax / style?
source share