def METHOD_NAME(self):
    """Test that a wrong implementation raises an error."""
    class WrongPlugin(LabelPrintingMixin, InvenTreePlugin):
        pass
    with self.assertRaises(MixinNotImplementedError):
        plugin = WrongPlugin()
        plugin.print_label(filename='test')