public void AssertNoChildOpened()

in TeamCity.ServiceMessages/Write/Special/Impl/Writer/TeamCityTestSuiteBlock.cs [26:39]


        public void AssertNoChildOpened()
        {
            if (_isChildSuiteOpened)
            {
                throw new InvalidOperationException($"Expected no child test suites to be open, but a child test suite named '{_childSuiteName}' is open");
            }

            if (_isChildTestOpened)
            {
                throw new InvalidOperationException($"Expected no child tests to be open, but a child test named '{_childTestName}' is open");
            }

            _flows.AssertNoChildOpened();
        }