you test dose not explicitly expect the IllegalStateException, and is harder to under stand