Exemplo n.º 1
0
        public virtual void testToString()
        {
            OutputCurrenciesFunction fn   = new OutputCurrenciesFunction();
            CalculationTaskCell      cell = CalculationTaskCell.of(1, 2, TestingMeasures.PRESENT_VALUE, REPORTING_CURRENCY_USD);
            CalculationTask          task = CalculationTask.of(TARGET, fn, cell);

            assertThat(task.ToString()).isEqualTo("CalculationTask[CalculationTaskCell[(1, 2), measure=PresentValue, currency=Specific:USD]]");
        }