createSelectedGoal(gssQuery, g1, 0);
createSelectedGoal(gssQuery, g2, 0);
PrioritizedDecomposition priorizedDecomposition = createPriorizedDecomposition(gssQuery, d1, 0);
new UpdatePrioritizedDecompositionWeightCommand(gssQuery.getSelectedGoalsSet(),priorizedDecomposition, "10").runWithoutUnicaseCommand();
assertEquals("10", priorizedDecomposition.getWeight());
assertEquals(true,gssQuery.getSelectedGoalsSet().isChanged() );
}