<test-data xmlns="http://pmd.sourceforge.net/rule-tests"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://pmd.sourceforge.net/rule-tests https://pmd.sourceforge.io/rule-tests_1_0_0.xsd">
    <code-fragment id="boolean-property-in-POJO-class">
        <![CDATA[
  public class BooleanPropertyNamingRuleTestDO{
    private boolean issuccess;
    private boolean issuccess1;
    private boolean success;
    public void sayHello (int i) {
     boolean issuccess1;
     boolean success1;
    }
}
    ]]>
    </code-fragment>
    <test-code>
        <description>issuccess should not contain is</description>
        <expected-problems>2</expected-problems>
        <expected-linenumbers>2,3</expected-linenumbers>
        <code-ref id="boolean-property-in-POJO-class" />
    </test-code>


    <code-fragment id="boolean-property-in-POJO-class1">
        <![CDATA[
  public class BooleanPropertyNamingRuleTest{
    private boolean success;
    public void sayHello (int i) {
     boolean success1;
    }
}
    ]]>
    </code-fragment>
    <test-code>
        <description>issuccess should not contain is</description>
        <expected-problems>0</expected-problems>
        <code-ref id="boolean-property-in-POJO-class1" />
    </test-code>

    <code-fragment id="boolean-property-in-POJO-class2">
        <![CDATA[
public class ProcessBuilder {
  public static final boolean isWindows = isWindows();
}
    ]]>
    </code-fragment>
    <test-code>
        <description>issuccess should not contain is</description>
        <expected-problems>0</expected-problems>
        <code-ref id="boolean-property-in-POJO-class2" />
    </test-code>
</test-data>
