@Test(dataProvider = "fixtures") public void testGetterAttributeInfo(String attribute, boolean isIs, Object[] values, Class<?> clazz) { for (Object t : objects) { String attributeName = toFeatureName(attribute, t); Collection<ReportedBeanAttribute> attributes = getAttributes(t); ReportedBeanAttribute attributeInfo = getAttributeInfo(attributes, attributeName); assertNotNull(attributeInfo, "AttributeInfo for " + attributeName); assertEquals(attributeInfo.getName(), attributeName, "Attribute Name for " + attributeName); } }
Collection<ReportedBeanAttribute> getAttributes() { return attributes.values(); }
ReportedBean { Collection<ReportedBeanAttribute> getAttributes() { return attributes.values(); } }
ReportedBean { Collection<ReportedBeanAttribute> getAttributes() { return attributes.values(); } private  ReportedBean(Collection<ReportedBeanAttribute> attributes, Collection<PrometheusBeanAttribute> prometheusAttributes); }
ReportedBean { Collection<ReportedBeanAttribute> getAttributes() { return attributes.values(); } private  ReportedBean(Collection<ReportedBeanAttribute> attributes, Collection<PrometheusBeanAttribute> prometheusAttributes);  }
ReportedBean { Collection<ReportedBeanAttribute> getAttributes() { return attributes.values(); } private  ReportedBean(Collection<ReportedBeanAttribute> attributes, Collection<PrometheusBeanAttribute> prometheusAttributes);   }