public void ValidateVSLClear() { VirtualSequenceList seqList = GetVirtualSequenceList( Constants.NeedlemanWunschVeryLargeSizeProAlignAlgorithmNodeName); try { seqList.Clear(); Assert.Fail(); } catch (NotSupportedException) { ApplicationLog.WriteLine( "VSL Bvt : Successfully validated the Clear() method"); Console.WriteLine( "VSL Bvt : Successfully validated the Clear() method"); } }