--- /dev/null
+package org.simantics.db.testing.common;
+
+
+public class CommandSpec<T extends Command> {
+ public Class<T> clazz;
+ public double weight;
+ private CommandSpec(Class<T> clazz, double weight) {
+ this.clazz = clazz;
+ this.weight = weight;
+ }
+ public static <T2 extends Command> CommandSpec<T2> make(Class<T2> clazz, double weight) {
+ return new CommandSpec<T2>(clazz, weight);
+ }
+}
\ No newline at end of file