public void SerializeToJSON() { ChatRuntime rt = new ChatRuntime(); rt.ParseText("CHAT Test { type = a,stage = b}"); Assert.That(rt.ToJSON(serializer), Is.Not.Null); }