AutonomiccsSystemVmsGuru implements VirtualMachineGuru, InitializingBean { @Override public boolean finalizeCommandsOnStart(Commands arg0, VirtualMachineProfile arg1) { return true; }  @Override void afterPropertiesSet(); @Override boolean finalizeCommandsOnStart(Commands arg0, VirtualMachineProfile arg1); @Override boolean finalizeDeployment(Commands cmds, VirtualMachineProfile profile, DeployDestination dest, ReservationContext context); @Override void finalizeExpunge(VirtualMachine vm); @Override boolean finalizeStart(VirtualMachineProfile arg0, long arg1, Commands arg2, ReservationContext arg3); @Override void finalizeStop(VirtualMachineProfile arg0, Answer arg1); @Override boolean finalizeVirtualMachineProfile(VirtualMachineProfile profile, DeployDestination dest, ReservationContext context); @Override void prepareStop(VirtualMachineProfile arg0);  }
@Test public void finalizeCommandsOnStartTest() { boolean result = spy.finalizeCommandsOnStart(Mockito.any(Commands.class), Mockito.any(VirtualMachineProfile.class)); Assert.assertEquals(true, result); }