<?xml version="1.0" encoding="UTF-8"?>
<test-data>
    <test-code>
        <description><![CDATA[
ok, throws CloneNotSupportedException
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class Foo {
 void clone() throws CloneNotSupportedException {
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
bad
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class Foo {
 void clone() {
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
final class, rule does not apply
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public final class Foo {
 void clone() {
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
testing with multiple methods
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class Foo {
 void clone() {}
 void foo() {}
 void bar() {}
}
     ]]></code>
    </test-code>
</test-data>
