INT-1555 fixing broken test

This commit is contained in:
Oleg Zhurakousky
2010-11-12 16:44:57 -05:00
parent 7683d59f62
commit acc20c02fb

View File

@@ -62,7 +62,7 @@ public class SftpInboundRemoteFileSystemSynchronizerTests {
when(sessionPoll.getSession()).thenReturn(sftpSession);
ChannelSftp channel = mock(ChannelSftp.class);
when(channel.get((String) Mockito.any())).thenReturn(new FileInputStream(new File(".classpath")));
when(channel.get((String) Mockito.any())).thenReturn(new FileInputStream(new File(".template.mf")));
when(sftpSession.getChannel()).thenReturn(channel);
Vector<LsEntry> entries = new Vector<ChannelSftp.LsEntry>();
LsEntry entry = mock(LsEntry.class);