public void testInitTiming() { var t = new Timing() .SetCategory("category") .SetVariable("variable") .SetTiming(10) .SetLabel("label") .SetTrueTimestamp(123456789123) .Build(); var sdj = (SelfDescribingJson)t.GetPayload(); Assert.IsNotNull(t); Assert.IsNotNull(sdj); Assert.AreEqual(@"{""schema"":""iglu:com.snowplowanalytics.snowplow/timing/jsonschema/1-0-0"",""data"":{""category"":""category"",""label"":""label"",""timing"":10,""variable"":""variable""}}", sdj.ToString()); Assert.IsNotNull(t.GetContexts()); }