public void offline(final ComputeNodeInstance computeNodeInstance) {
        repository.delete(ComputeNode.getOnlineInstanceNodePath(computeNodeInstance.getMetaData().getId(), computeNodeInstance.getMetaData().getType()));
    }
@Test
    void assertOffline() {
        ComputeNodeInstance computeNodeInstance = new ComputeNodeInstance(new ProxyInstanceMetaData("foo_instance_id", 3307));
        new ComputeNodePersistService(repository).offline(computeNodeInstance);
        verify(repository).delete("/nodes/compute_nodes/online/proxy/" + computeNodeInstance.getMetaData().getId());
    }