Deveel.Data.SystemDateFunctionTests.SystemTimeStamp C# (CSharp) Method

SystemTimeStamp() private method

private SystemTimeStamp ( ) : void
return void
        public void SystemTimeStamp()
        {
            var value = Select("SYSTEM_TIMESTAMP");

            Assert.IsNotNull(value);
            Assert.IsFalse(value.IsNull);
            Assert.IsInstanceOf<DateType>(value.Type);
            Assert.IsInstanceOf<SqlDateTime>(value.Value);

            // It is impossible to determine the value of the current date
            // in this test scenario
        }