I didn't suppress all deprecation warnings in general. I thought it made sense in this case as it is a unit test of a deprecated class.