package org.ovirt.engine.core;

import org.ovirt.engine.core.bll.CommandBase;
import org.ovirt.engine.core.dal.dbbroker.DbFacade;

import static org.mockito.Mockito.doReturn;

public class CommandMocks {

    public static void mockDbFacade(CommandBase cmdMock, DbFacade dbFacade) {
        doReturn(dbFacade).when(cmdMock).getDbFacade();
    }

}

@@ -21,24 +21,69 @@
 gine.core;%0A%0A
+import static org.mockito.Mockito.doReturn;%0A%0A
 import org.o
@@ -173,53 +173,8 @@
 e;%0A%0A
-import static org.mockito.Mockito.doReturn;%0A%0A
 publ
@@ -245,16 +245,19 @@
 mandBase
+%3C?%3E
  cmdMock

Add missing type argument