You need to assert that something will be raised. Did you run this test?