Deveel.Data.Sql.Statements.LockTableStringFormatTests.InExclusiveModeInifiteWait C# (CSharp) Method

InExclusiveModeInifiteWait() private method

private InExclusiveModeInifiteWait ( ) : void
return void
        public static void InExclusiveModeInifiteWait()
        {
            var statement = new LockTableStatement(ObjectName.Parse("APP.tab1"), LockingMode.Exclusive);

            var sql = statement.ToString();
            const string expected = "LOCK TABLE APP.tab1 IN EXCLUSIVE MODE";

            Assert.AreEqual(expected, sql);
        }