@Test() public void testValidValue() { new AttributeIndexBuilder(builder).visit(new AttributeDescr("activation-group", "value")); verify(builder).addGenerator(captor.capture()); final SharedPart value = captor.getValue(); List<KProperty<?>> kProperties = value.toIndexElements(); assertEquals(1, kProperties.size()); assertEquals("shared:activationgroup", kProperties.get(0).getName()); assertEquals("value", kProperties.get(0).getValue()); }
public void visit(final AttributeDescr descr) { visit(descr.getName(), descr.getValue()); }
AttributeIndexBuilder { public void visit(final AttributeDescr descr) { visit(descr.getName(), descr.getValue()); } }
AttributeIndexBuilder { public void visit(final AttributeDescr descr) { visit(descr.getName(), descr.getValue()); } AttributeIndexBuilder(final DefaultIndexBuilder builder); }
AttributeIndexBuilder { public void visit(final AttributeDescr descr) { visit(descr.getName(), descr.getValue()); } AttributeIndexBuilder(final DefaultIndexBuilder builder); void visit(final AttributeDescr descr); void visit(final String name,
                      final String value); boolean isIgnored(final String attr); }
AttributeIndexBuilder { public void visit(final AttributeDescr descr) { visit(descr.getName(), descr.getValue()); } AttributeIndexBuilder(final DefaultIndexBuilder builder); void visit(final AttributeDescr descr); void visit(final String name,
                      final String value); boolean isIgnored(final String attr);  }