There already is a test exactly like this:
but apparently the RI does not detect the error. The test is also not
currently assigned to any assertion, but the spec clearly states that this
is not allowed; however, it states that a IllegalArgumentException is to be
thrown, both runtime and not (Section 10.3.1).
I'm currently reviewing all the tests and assertions for events, so I'll
cover this oversight.
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597