### Question:
PeerDescriptionModifier { public boolean isModificationNeeded(final SiteToSiteTransportProtocol protocol) { return routes != null && routes.containsKey(protocol) && !routes.get(protocol).isEmpty(); } PeerDescriptionModifier(final NiFiProperties properties); boolean isModificationNeeded(final SiteToSiteTransportProtocol protocol); PeerDescription modify(final PeerDescription source, final PeerDescription target,
                                  final SiteToSiteTransportProtocol protocol, final RequestType requestType,
                                  final Map<String, String> variables);  }### Answer:
@Test public void testNoConfiguration() { Properties props = new Properties(); final NiFiProperties properties = new StandardNiFiProperties(props); final PeerDescriptionModifier modifier = new PeerDescriptionModifier(properties); assertFalse(modifier.isModificationNeeded(SiteToSiteTransportProtocol.RAW)); assertFalse(modifier.isModificationNeeded(SiteToSiteTransportProtocol.HTTP)); }