public function testPublicMethodThrowsDeprecatedWarning() { $test = new DeprecatedMethods(); $test->deprecatedMethod(); }