AnalyticsClassAttributes { public static boolean isClass(String predicate) { return getClassAttributes().contains(predicate); }  static final void initClassAttributes(String... attributes); static final void initClassAttributes(List<String> attributes); static boolean isClass(String predicate); static List<String> getClassAttributes(); static final String DEFAULT; }
@Test public void testClassDefinitions() { assertEquals(true, AnalyticsClassAttributes.isClass(PRED_1)); assertEquals(true, AnalyticsClassAttributes.isClass(PRED_2)); assertEquals(true, AnalyticsClassAttributes.isClass(PRED_3)); assertEquals(true, AnalyticsClassAttributes.isClass(PRED_4)); assertEquals(true, AnalyticsClassAttributes.isClass(PRED_5)); assertEquals(true, AnalyticsClassAttributes.isClass(PRED_6)); assertEquals(true, AnalyticsClassAttributes.isClass(PRED_7)); assertEquals(false, AnalyticsClassAttributes.isClass(PRED_1B)); assertEquals(false, AnalyticsClassAttributes.isClass(PRED_2B)); assertEquals(false, AnalyticsClassAttributes.isClass(PRED_3B)); }