99100101102103104105106107108109
// Check callbacks are reset this.assertCallbacksReset(); // Invoke sfsb.call(); // Check callbacks have been made exactly once this.assertCallsExpected(1); // Invoke again
105106107108109110111112113114115
// Check callbacks have been made exactly once this.assertCallsExpected(1); // Invoke again sfsb.call(); // Check callbacks have been made exactly twice this.assertCallsExpected(2); // Invoke again
111112113114115116117118119120121
// Check callbacks have been made exactly twice this.assertCallsExpected(2); // Invoke again sfsb.call(); // Check callbacks have been made exactly three times this.assertCallsExpected(3); // Reset