use of org.apache.nifi.minifi.c2.provider.util.HttpConnector in project nifi-minifi by apache.
the class TemplatesIteratorTest method setup.
@Before
public void setup() throws ConfigurationProviderException {
jsonFactory = new JsonFactory();
httpURLConnection = mock(HttpURLConnection.class);
httpConnector = mock(HttpConnector.class);
when(httpConnector.get(TemplatesIterator.FLOW_TEMPLATES)).thenReturn(httpURLConnection);
}
Aggregations