<commit_before>package com.jenjinstudios.world.client.message;

import com.jenjinstudios.core.io.Message;
import com.jenjinstudios.world.client.ClientActor;
import org.testng.Assert;
import org.testng.annotations.Test;

/**
 * @author <NAME>
 */
public class ExecutableActorMoveSpeedMessageTest extends WorldClientExecutableMessageTest
{
	@Test(timeOut = 5000)
	@Override
	public void testMessageExecution() throws Exception {
		Message actorMoveSpeedMessage = messageRegistry.createMessage("ActorMoveSpeed");
		actorMoveSpeedMessage.setArgument("moveSpeed", 123.45);
		inStreamReadMessage.thenReturn(actorMoveSpeedMessage, blankMessageSpam);

		worldClient.blockingStart();
		worldClient.sendBlockingWorldFileRequest();
		worldClient.sendBlockingLoginRequest();
		Thread.sleep(500); // Sleep to allow client to "catch up"

		Assert.assertEquals(ClientActor.MOVE_SPEED, 123.45);
	}
}
<commit_msg>Refactored to make better.  Words.<commit_after>package com.jenjinstudios.world.client.message;

import com.jenjinstudios.core.io.Message;
import com.jenjinstudios.core.io.MessageRegistry;
import com.jenjinstudios.world.client.ClientActor;
import com.jenjinstudios.world.client.WorldClient;
import org.mockito.Mockito;
import org.testng.Assert;
import org.testng.annotations.Test;

/**
 * @author <NAME>
 */
public class ExecutableActorMoveSpeedMessageTest
{
	@Test
	public void testMessageExecution() throws Exception {
		MessageRegistry messageRegistry = new MessageRegistry();
		Message actorMoveSpeedMessage = messageRegistry.createMessage("ActorMoveSpeed");
		actorMoveSpeedMessage.setArgument("moveSpeed", 123.45);
		WorldClient worldClient = Mockito.mock(WorldClient.class);

		ExecutableActorMoveSpeedMessage message =
			  new ExecutableActorMoveSpeedMessage(worldClient, actorMoveSpeedMessage);
		message.runImmediate();
		message.runDelayed();

		Assert.assertEquals(ClientActor.MOVE_SPEED, 123.45);
	}
}

{'fraction_non_alphanumeric': 0.10094142259414227, 'fraction_numerical': 0.014121338912133892, 'mean_word_length': 6.682730923694779, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7065512', 'n_tokens_mistral': 608, 'n_tokens_neox': 562, 'n_words': 97}