### Question:
ComponentMetadata { public Optional<Object> value(final String name, final String member) { return findValues(name, member, IDENTITY).findFirst(); } ComponentMetadata(); private  ComponentMetadata(final Collection<ComponentAttribute> attributes); Collection<ComponentAttribute> attributes(); void addAttribute(final ComponentAttribute attribute); Collection<ComponentAttribute> attributesForName(final String name); Optional<Object> value(final String name, final String member); Collection<Object> values(final String name, final String member); Collection<String> stringValues(final String name, final String member); String stringValue(final String name, final String member); String[] arrayValue(final String name, final String member); boolean contains(final String name, final String member, Object value);  }### Answer:
@Test public void shouldGetAttributeValueMember() { Optional<Object> value = metadata.value("testAttribute", "simpleMember"); assertTrue(value.isPresent()); assertEquals("valueOne", value.get()); }