### Question:
GraphAttribute implements Attribute { @Override public Double getDouble() { return TypeConverter.asDouble(attributeValue); } <T> GraphAttribute(Name name, Object attributeValue, 
            Attribute.Metadata metadata); @Override Metadata getMetadata(); @Override Name getName(); @Override V getValue(Class<V> clazz); @Override Integer getInteger(); @Override Double getDouble(); @Override Boolean getBoolean(); @Override String getString(); @Override Instant getInstant(); @Override UUID getUUID();  }### Answer:
@Test public void testGraphAttributeCreationWithDoubleValue() { Name name = TartanImplTestConstants.ATTR_DUMMY_ATTRIBUTE_NAME; Double attributeValue = 1.1; Metadata metadata = new MockMetadata(); GraphAttribute graphAttribute = new GraphAttribute(name, attributeValue, metadata); assertValues(name, metadata, graphAttribute); assertEquals(graphAttribute.getDouble(), attributeValue); }