### Question:
OreSettingsYamlImpl implements ConfigurationSerializable, OreSettings { @NotNull @Override public Ore getOre() { return this.ore; } OreSettingsYamlImpl(@NotNull final Ore ore);  OreSettingsYamlImpl(@NotNull final Ore ore, @NotNull final Map<Setting, Double> settings); @NotNull static OreSettingsYamlImpl deserialize(@NotNull final Map<String, Object> map); @NotNull @Override Ore getOre(); @NotNull @Override Optional<Double> getValue(@NotNull final Setting setting); @Override void setValue(@NotNull final Setting setting, final double value); @NotNull @Override Map<Setting, Double> getSettings(); @Override boolean isActivated(); @Override void setActivated(final boolean status); @NotNull @Override OreSettingsYamlImpl clone(); @Override boolean equals(@Nullable final Object object); @Override int hashCode(); @NotNull @Override Map<String, Object> serialize();  }### Answer:
@Test public void GetOre_When_OreSettingsIsInitialedWithAnOre_Expect_ReturnTheOreThatWasInitialed() { final List<OreSettingsYamlImpl> oreSettingsYamls = new LinkedList<>(); for (Ore ore : Ore.values()) oreSettingsYamls.add(new OreSettingsYamlImpl(ore)); final Iterator<OreSettingsYamlImpl> oreSettingsIterator = oreSettingsYamls.iterator(); for (Ore ore : Ore.values()) assertSame(ore, oreSettingsIterator.next().getOre()); }
@Test public void GetOre_When_OreSettingsIsInitialedWithAnOreAndMap_Expect_ReturnTheOreThatWasInitialed() { for (Ore ore : Ore.values()) assertSame(ore, new OreSettingsYamlImpl(ore).getOre()); for (Ore ore : Ore.values()) assertSame(ore, new OreSettingsYamlImpl(ore, new HashMap<>()).getOre()); }