final String basisStream = "basisStream";
final AccuRevInfo info = new AccuRevInfo( basedir );
info.setBasis( basisStream );
AccuRevScmProviderRepository repo = new AccuRevScmProviderRepository();
repo.setStreamName( "myStream" );
repo.setAccuRev( accurev );
repo.setProjectPath( "/project/dir" );
when( accurev.info( basedir )).thenReturn(info);
when( accurev.mksnap( "theTagName", basisStream ) ).thenReturn( Boolean.FALSE );
AccuRevTagCommand command = new AccuRevTagCommand( getLogger() );