public void DeserializeTest() { var exit = Exit.Deserialize(JsonConvert.DeserializeObject("{ 'Name': 'west', 'To': 'test_room' }")); Assert.AreEqual("west", exit.Name); Assert.AreEqual("test_room", exit.toRoom); }