package com.atlassian.bitbucket.mesh;

import com.atlassian.bitbucket.mesh.test.ExecutionContextRule;
import org.junit.Rule;

import javax.annotation.Resource;

public abstract class AbstractWiredExecutionContextTest extends AbstractWiredTest {

    //Many wired tests preparing test data using git tag, git branch and git update-ref. These git commands trigger
    //reference-transaction callbacks, which uses an ExecutionLocal to correlate different callbacks. This
    //rule ensures that an execution context is present for each test method.
    @Resource
    @Rule
    public ExecutionContextRule executionContextRule;
}
