public void TestSetNullPropertyName() { ActiveMQMessage msg = new ActiveMQMessage(); try { msg.Properties.SetString(null, "Cheese"); Assert.Fail("Should have thrown exception"); } catch(Exception) { } }