public void GetLastSynchronizationTest() { SqlCeClientTransactionRepository target = new SqlCeClientTransactionRepository(); target.SetLastSynchronization(DateTime.Now); DateTime? lastSynchronization = target.GetLastSynchronization(); Assert.IsTrue(lastSynchronization.HasValue); Assert.IsTrue(DateTime.Now > lastSynchronization.Value); }
public void SetLastSynchronizationTest() { SqlCeClientTransactionRepository target = new SqlCeClientTransactionRepository(); target.SetLastSynchronization(DateTime.Now); }