public void ToDateTimeWithImplicitResolution(long value, long expectedTicks) { var transformer = new TimestampTransformer(); var actualTimestamp = transformer.ToDateTime(value); var actualTicks = actualTimestamp.Ticks; Assert.AreEqual(expectedTicks, actualTicks); }