//------------------------------------------------------------------------- public virtual void test_empty() { CurveSensitivities test = CurveSensitivities.empty(); assertEquals(test.Info, PortfolioItemInfo.empty()); assertEquals(test.TypedSensitivities, ImmutableMap.of()); }
//------------------------------------------------------------------------- public virtual void test_mergedWith_sens_empty() { CurveSensitivities @base = sut(); CurveSensitivities test = @base.mergedWith(CurveSensitivities.empty()); assertEquals(test, @base); }