public void GetBaseEventInfoArgs_NullArgs() { var result = PiwikDataConverter.GetBaseEventInfoArgs(null); Assert.IsNotNull(result); Assert.IsFalse(result.Any()); }
public void GetBaseEventInfoArgs_MinimalArgs() { var info = new PiwikViewInfo(TestUrl); var result = PiwikDataConverter.GetBaseEventInfoArgs(WithTestTimestamp(info)); Assert.IsNotNull(result); AssertEqual(result, new[] { "url=https%3A%2F%2Fwww.test.com%2Fqwe%3Fasd%3Dzxc", "h=10", "m=20", "s=30" }); }