@Test(expected = InvalidParameterValueException.class)
public void testDetachVolumeFromRunningVm() throws NoSuchFieldException, IllegalAccessException {

    Field dedicateIdField = _detachCmdClass.getDeclaredField("id");
    dedicateIdField.setAccessible(true);
    dedicateIdField.set(detachCmd, 1L);
    _svc.detachVolumeFromVM(detachCmd);
}