def METHOD_NAME():
    plugin = plugins.get_plugin("mapper_plugin")
    CreateTestData.create_arbitrary([{"name": u"testpkg"}])
    assert plugin.calls == [
        ("before_insert", "testpkg"),
        ("after_insert", "testpkg"),
    ]