public void SuperProperties_FromClientConstructor_AddedToMessage() { var client = new MixpanelClient(Token, null, new Dictionary<string, object> { {MixpanelProperty.DistinctId, DistinctId}, {DoublePropertyName, DoublePropertyValue}, {StringPropertyName, StringPropertyValue} }); var msg = client.PeopleSetTest(new Dictionary<string, object> { {DecimalPropertyName, DecimalPropertyValue} }); Assert.That(msg.Data.Count, Is.EqualTo(3)); Assert.That(msg.Data[MixpanelProperty.PeopleToken], Is.EqualTo(Token)); Assert.That(msg.Data[MixpanelProperty.PeopleDistinctId], Is.EqualTo(DistinctId)); Assert.That(msg.Data[MixpanelProperty.PeopleSet], Is.TypeOf<Dictionary<string, object>>()); var set = (Dictionary<string, object>)msg.Data[MixpanelProperty.PeopleSet]; Assert.That(set.Count, Is.EqualTo(3)); Assert.That(set[DoublePropertyName], Is.EqualTo(DoublePropertyValue)); Assert.That(set[StringPropertyName], Is.EqualTo(StringPropertyValue)); Assert.That(set[DecimalPropertyName], Is.EqualTo(DecimalPropertyValue)); }