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

CurrentTimeStamp() private method

private CurrentTimeStamp ( ) : void
return void
        public void CurrentTimeStamp()
        {
            var value = Select("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
        }