void () { final XmlSuite suite = new XmlSuite(); final XmlTest test = new XmlTest(); final XmlClass xmlClass = new XmlClass("a.ATest", false); xmlClass.getIncludedMethods().add(new XmlInclude("test1")); test.getClasses().add(xmlClass); suite.getTests().add(test); doTest(suite, """ ##teamcity[enteredTheMatrix] ##teamcity[testSuiteStarted name ='ATest' locationHint = 'java:suite://a.ATest'] ##teamcity[testStarted name='ATest.test1|[0|]' locationHint='java:test://a.ATest/test1'] ##teamcity[testFinished name='ATest.test1|[0|]'] """); }