private Metric withoutFormula3 = new Metric("metric3");
@Test
public void selectAndSortFormulas() {
Project project = new Project("key");
BatchExtensionDictionnary batchExtDictionnary = newBatchDictionnary(withFormula1, withoutFormula3, withFormula2);
Collection<Decorator> decorators = new DecoratorsSelector(batchExtDictionnary).select(project);
assertThat(decorators).hasSize(2);
assertThat(decorators).contains(new FormulaDecorator(withFormula1));
assertThat(decorators).contains(new FormulaDecorator(withFormula2));