@Override
    public <T> T persist(T detachedObject) {
        Map<Object, Object> alreadyPersisted = new HashMap<Object, Object>();
        return persist(detachedObject, alreadyPersisted, RCascadeType.PERSIST);
    }
@Test
    public void testObjectShouldNotBeAttached() {
        Assertions.assertThrows(IllegalArgumentException.class, () -> {
            Customer customer = new Customer("12");
            customer = redisson.getLiveObjectService().persist(customer);
            Order order = new Order();
            customer.getOrders().add(order);
        });
    }