public GroupResult withTests(TestCaseRun... tests) {
        if (this.tests == null) {
            setTests(new java.util.ArrayList<TestCaseRun>(tests.length));
        }
        for (TestCaseRun ele : tests) {
            this.tests.add(ele);
        }
        return this;
    }
<p>
Tests under Group Result.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTests(java.util.Collection)} or {@link #withTests(java.util.Collection)} if you want to override the
existing values.
</p>

@param tests
       Tests under Group Result.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotdeviceadvisor/src/main/java/com/amazonaws/services/iotdeviceadvisor/model/GroupResult.java