@Test public void testLoadSpecificStubDescriptors() throws FileNotFoundException, ClassNotFoundException { List<String> paths = new ArrayList<>(); paths.add("test"); given(newStubDescriptorJsonCommandFactory.create("test", stubConfigurationJsonBuilder, sequenceDescriptorHolder)).willReturn(command); underTest.loadSpecificStubDescriptors(paths); verify(routingService, times(1)).performModification(command); }
public void loadSpecificStubDescriptors(final List<String> filePaths) { for (String jsonFilePath : filePaths) { createStubDescriptor(jsonFilePath); } serviceMap.detectServices(); }
StubDescriptorReader { public void loadSpecificStubDescriptors(final List<String> filePaths) { for (String jsonFilePath : filePaths) { createStubDescriptor(jsonFilePath); } serviceMap.detectServices(); } }
StubDescriptorReader { public void loadSpecificStubDescriptors(final List<String> filePaths) { for (String jsonFilePath : filePaths) { createStubDescriptor(jsonFilePath); } serviceMap.detectServices(); }  }
StubDescriptorReader { public void loadSpecificStubDescriptors(final List<String> filePaths) { for (String jsonFilePath : filePaths) { createStubDescriptor(jsonFilePath); } serviceMap.detectServices(); }  void loadSpecificStubDescriptors(final List<String> filePaths); }
StubDescriptorReader { public void loadSpecificStubDescriptors(final List<String> filePaths) { for (String jsonFilePath : filePaths) { createStubDescriptor(jsonFilePath); } serviceMap.detectServices(); }  void loadSpecificStubDescriptors(final List<String> filePaths);  }