@Test(expected = InvalidParameterValueException.class)
public void testTakeSnapshotF1() throws ResourceAllocationException {

    when(_volFactory.getVolume(anyLong())).thenReturn(volumeInfoMock);
    when(volumeInfoMock.getState()).thenReturn(Volume.State.Allocated);
    _svc.takeSnapshot(5L, Snapshot.MANUAL_POLICY_ID, 3L, null, false);
}