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

            coverImmutableBean(test);

            OutputCurrenciesFunction fn2   = new OutputCurrenciesFunction();
            CalculationTaskCell      cell2 = CalculationTaskCell.of(1, 3, TestingMeasures.PRESENT_VALUE, REPORTING_CURRENCY_USD);
            CalculationTask          test2 = CalculationTask.of(new TestTarget(), fn2, cell2);

            coverBeanEquals(test, test2);
            assertNotNull(CalculationTask.meta());
        }