public class CapabilitiesMessageDigestTest {
@Parameters
public static Collection<Object[]> getParameters() {
List<Object[]> params = new ArrayList<Object[]>();
Capabilities capabilities;
capabilities = new Capabilities();
params.add(new Object[] { capabilities, "MD5" });
capabilities = new Capabilities(Capability.SHA_1);
params.add(new Object[] { capabilities, "SHA-1" });
capabilities = new Capabilities(Capability.SHA_1, Capability.SHA_256);
params.add(new Object[] { capabilities, "SHA-256" });
capabilities = new Capabilities(Capability.SHA_1, Capability.SHA_256,
Capability.SHA_512);
params.add(new Object[] { capabilities, "SHA-512" });
return params;
}