@Test(expected = IllegalArgumentException.class)
public void testSaveModelWithTheSameName() throws Exception {

    try (Ignite ignite = startGrid(cfg)) {
        IgniteModelStorageUtil.saveModel(ignite, i -> 0.42, "mdl");
        IgniteModelStorageUtil.saveModel(ignite, i -> 0.42, "mdl");
    }
}