}
@Test
public void testExecuteForResult() throws Exception {
StorageService resourceService = Mockito.mock(StorageService.class);
addImageStoreCmd._storageService = resourceService;
ImageStore store = Mockito.mock(ImageStore.class);
Mockito.when(resourceService.discoverImageStore(anyString(), anyString(), anyString(), anyLong(), (Map)anyObject()))
.thenReturn(store);
ResponseGenerator responseGenerator = Mockito
.mock(ResponseGenerator.class);
addImageStoreCmd._responseGenerator = responseGenerator;