@Override
    void put(String name, Mapping mapping) {
        storage().put(name, mapping);
    }
@Test
    public void when_put_then_overridesPrevious() {
        String name = randomName();
        Mapping originalMapping = mapping(name, "type1");
        Mapping updatedMapping = mapping(name, "type2");

        storage.put(name, originalMapping);
        storage.put(name, updatedMapping);

        assertTrue(storage.allObjects().stream().noneMatch(m -> m.equals(originalMapping)));
        assertTrue(storage.allObjects().stream().anyMatch(m -> m.equals(updatedMapping)));
    }