@Test
public void testRestoreInstances_noMachineId() throws Exception {

	// Prepare stuff
	IInstancesMngr mngr = new InstancesMngrImpl( null, null, null, null, null );
	TestApplication app = new TestApplication();
	app.setDirectory( this.folder.newFolder());
	ManagedApplication ma = new ManagedApplication( app );
	TargetHandler targetHandler = Mockito.mock( TargetHandler.class );
	// Try to restore instances
	mngr.restoreInstanceStates( ma, targetHandler );
	// We did not go very far, and the mock was not even checked.
	Mockito.verifyZeroInteractions( targetHandler );
}