public bool PosTest2()
    {
        bool retVal = true;

        TestICollectionIsSynchronized test = new TestICollectionIsSynchronized();
        test.setIsSynchronized(true);

        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify set the IsSynchronized properyty is true");

        try
        {
            if (!test.IsSynchronized)
            {
                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
                retVal = false;
            }

        }
        catch (Exception e)
        {
            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
            retVal = false;
        }

        return retVal;
    }
    public bool PosTest2()
    {
        bool retVal = true;

        TestICollectionIsSynchronized test = new TestICollectionIsSynchronized();

        test.setIsSynchronized(true);

        TestLibrary.TestFramework.BeginScenario("PosTest2: Verify set the IsSynchronized properyty is true");

        try
        {
            if (!test.IsSynchronized)
            {
                TestLibrary.TestFramework.LogError("003", "The result is not the value as expected");
                retVal = false;
            }
        }
        catch (Exception e)
        {
            TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e);
            retVal = false;
        }

        return(retVal);
    }
    public bool PosTest1()
    {
        bool retVal = true;

        TestICollectionIsSynchronized test = new TestICollectionIsSynchronized();

        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify the default value of IsSynchronized property is false");

        try
        {
            if (test.IsSynchronized)
            {
                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
                retVal = false;
            }

        }
        catch (Exception e)
        {
            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
            retVal = false;
        }

        return retVal;
    }
    public bool PosTest1()
    {
        bool retVal = true;

        TestICollectionIsSynchronized test = new TestICollectionIsSynchronized();

        TestLibrary.TestFramework.BeginScenario("PosTest1: Verify the default value of IsSynchronized property is false");

        try
        {
            if (test.IsSynchronized)
            {
                TestLibrary.TestFramework.LogError("001", "The result is not the value as expected");
                retVal = false;
            }
        }
        catch (Exception e)
        {
            TestLibrary.TestFramework.LogError("002", "Unexpected exception: " + e);
            retVal = false;
        }

        return(retVal);
    }