@Test
public void reset() {

    Composite composite = operationFactory.resetResource(address,
            Sets.newHashSet("authentication-context", // string w/ alternative
                    "capacity-decrementer-class", // string
                    "capacity-incrementer-properties", // object
                    "class-name", // string(required)
                    "connectable", // boolean(false)
                    "initial-pool-size", // int
                    "max-pool-size", // int(20)
                    "xa-resource-timeout"), // is required by wrap-xa-resource
            metadata);
    assertUndefine(composite, "capacity-decrementer-class");
    assertUndefine(composite, "capacity-incrementer-properties");
    assertUndefine(composite, "connectable");
    assertUndefine(composite, "max-pool-size");
    assertUndefineNotPresent(composite, "xa-resource-timeout");
}