Fixed broken test

This commit is contained in:
Mattias Holmqvist 2011-11-24 22:40:18 +01:00
parent 2c2eadc2e0
commit e6c13a4f32
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ public class TakeSnapshotIfNotAlreadyAttachedTest {
expect(machine.getCurrentSnapshot()).andReturn(null).anyTimes(); expect(machine.getCurrentSnapshot()).andReturn(null).anyTimes();
expect(manager.openMachineSession(machine)).andReturn(session); expect(manager.openMachineSession(machine)).andReturn(session);
expect(machine.getName()).andReturn("machine").anyTimes();
expect(session.getConsole()).andReturn(console); expect(session.getConsole()).andReturn(console);
expect(console.takeSnapshot(snapshotName, snapshotDesc)).andReturn( expect(console.takeSnapshot(snapshotName, snapshotDesc)).andReturn(
progress); progress);