super(scmUnderTest);
}
@Test
public void shouldNotInitializeAnyRepositoryWhenScmContextIsEmpty() throws Throwable {
ScmContext emptyContext = new ScmContext(null, null);
sscBusiness.init(emptyContext);
assertThat(sscBusiness.scmCheckoutDirectorySettledUp(emptyContext), is(false));
emptyContext = new ScmContext(null, getSCMRepositoryURL());
sscBusiness.init(emptyContext);
assertThat(sscBusiness.scmCheckoutDirectorySettledUp(emptyContext), is(false));
createSCMMock(null);
assertThat(sscBusiness.scmCheckoutDirectorySettledUp(emptyContext), is(false));