Alright, throws and doesNotThrow does not work. Can't figure out why yet but the rest should be solid