    @Test
    public void start() throws Exception {

        mockStatic(HashUtil.class);
        when(HashUtil.getHashes(any(File.class))).thenReturn(null);
        when(coreFileManager.getServerGlobalDirectory()).thenReturn(new File("core/templates/server/Global/"));
        doAnswer(invocation -> {
            Message message = invocation.getArgument(0);
            getBaseStringHandler().handleMessage(message, message.toJson(), getBaseChannel());
            return null;
        }).when(getBaseObject()).sendMessage(any(Message.class));
        Server server = anyServer();
        server.start();
        ArgumentCaptor<BaseServerObject> argument = ArgumentCaptor.forClass(BaseServerObject.class);
        verify(TimoCloudBase.getInstance().getInstanceManager(), times(1)).addToServerQueue(argument.capture());
        BaseServerObject value = argument.getValue();
        assertEquals(server.getName(), value.getName());
        assertEquals(server.getId(), value.getId());
        assertEquals(server.getGroup().getName(), value.getGroup());
        assertEquals(server.isStatic(), value.isStatic());
        assertEquals(server.getMap(), value.getMap());
        assertEquals(server.getGroup().getRam(), value.getRam());
    }