When<class>().Throws() works