@Test public void testVerify() { Configuration c = new Configuration("c", ConfigurationFormat.CISCO_IOS); c.setCommunityMatchExprs( ImmutableMap.of("referenceToUndefined", new CommunityMatchExprReference("undefined"))); _thrown.expect(VendorConversionException.class); _thrown.expectMessage(containsString("Undefined reference")); verify(c); }
public static void verify(Configuration configuration) { new CommunityStructuresVerifier(configuration).verify(); }
CommunityStructuresVerifier { public static void verify(Configuration configuration) { new CommunityStructuresVerifier(configuration).verify(); } }
CommunityStructuresVerifier { public static void verify(Configuration configuration) { new CommunityStructuresVerifier(configuration).verify(); } @VisibleForTesting  CommunityStructuresVerifier(Configuration c); }
CommunityStructuresVerifier { public static void verify(Configuration configuration) { new CommunityStructuresVerifier(configuration).verify(); } @VisibleForTesting  CommunityStructuresVerifier(Configuration c); static void verify(Configuration configuration); }
CommunityStructuresVerifier { public static void verify(Configuration configuration) { new CommunityStructuresVerifier(configuration).verify(); } @VisibleForTesting  CommunityStructuresVerifier(Configuration c); static void verify(Configuration configuration);  }