use of jetbrains.buildServer.buildTriggers.vcs.git.GitResetCacheHandler in project teamcity-git by JetBrains.
the class GitResetCacheHandlerTest method setUp.
@BeforeMethod
public void setUp() throws IOException {
new TeamCityProperties() {
{
setModel(new BasePropertiesModel() {
});
}
};
myContext = new Mockery() {
{
setImposteriser(ClassImposteriser.INSTANCE);
}
};
myTempFiles = new TempFiles();
myCachesDir = myTempFiles.createTempDir();
myRepositoryManager = myContext.mock(RepositoryManager.class);
myCacheHandler = new GitResetCacheHandler(myRepositoryManager, new GcErrors());
}
Aggregations