1 description('Test for (foo in somethingWhichThrows) to catch ASSERT');
3 function throwNullException() {
7 function throwUndefinedException() {
11 function throwStringException() {
16 for (var foo in func()) {
17 testFailed("Shoud not be reached");
21 shouldBeUndefined("test(throwUndefinedException)");
22 shouldBeUndefined("test(throwNullException)");
23 shouldThrow("test(throwStringException)");