<commit_before>using NUnit.Framework;

namespace AzureVmFarmer.Core.Tests.Messengers
{
	[TestFixture]
	class MessageHandlerTests
	{
		[Test]
		public void Stub()
		{
			Assert.Fail();
		}
	}
}<commit_msg>add messagehandler test<commit_after>using AzureVmFarmer.Core.Messengers.Impl;
using Microsoft.ServiceBus.Messaging;
using NUnit.Framework;

namespace AzureVmFarmer.Core.Tests.Messengers
{
	[TestFixture]
	class MessageHandlerTests
	{
		[Test]
		public void HandleMessage_InvalidMessageType_ThrowsArgumentException()
		{
			var message = new BrokeredMessage();
			message.SetMessageType("InvalidType");

			var messageHandler = new MessageHandler();

			Assert.That(() => messageHandler.HandleMessage(message), Throws.ArgumentException);
		}
	}
}
{'fraction_non_alphanumeric': 0.1041388518024032, 'fraction_numerical': 0.0, 'mean_word_length': 5.4655172413793105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1374766', 'n_tokens_mistral': 264, 'n_tokens_neox': 232, 'n_words': 41}