testLeaveUnknownAtRule_styleClassWithoutMethodAndRemovedFromAST_consideredAsExternal() {
// Given
HashSet<String> styleClassSet = Sets.newHashSet("foo", "bar");
ExternalClassesCollector externalClassesCollector = createAndInitExternalClassesCollector();
// AST contains only one style class named foo, bar is not in the AST anymore
CssClassSelectorNode classSelectorNode = mock(CssClassSelectorNode.class);
when(classSelectorNode.getRefinerName()).thenReturn("foo");
externalClassesCollector.enterClassSelector(classSelectorNode);
// The style class bar is not associated to a java method
HashSet<String> orphanClassName = Sets.newHashSet("bar");
// When