### Question:
AtomicValueConfig extends ValueConfig<AtomicValueConfig> { @Override public PrimitiveType getType() { return AtomicValueType.instance(); }  @Override PrimitiveType getType();  }### Answer:
@Test public void testLoadConfig() throws Exception { AtomicValueConfig config = Atomix.config(getClass().getClassLoader().getResource("primitives.conf").getPath()) .getPrimitive("atomic-value"); assertEquals("atomic-value", config.getName()); assertEquals(MultiPrimaryProtocol.TYPE, config.getProtocolConfig().getType()); assertFalse(config.isReadOnly()); assertTrue(config.getNamespaceConfig().isRegistrationRequired()); assertSame(Type1.class, config.getValueType()); assertSame(Type3.class, config.getExtraTypes().get(0)); assertSame(Type1.class, config.getNamespaceConfig().getTypes().get(0).getType()); assertSame(Type2.class, config.getNamespaceConfig().getTypes().get(1).getType()); }