public virtual void test_empty()
        {
            ReferenceData test = ReferenceData.empty();

            assertEquals(test.containsValue(ID1), false);
            assertThrows(() => test.getValue(ID1), typeof(ReferenceDataNotFoundException));
            assertEquals(test.findValue(ID1), null);
        }
 //-------------------------------------------------------------------------
 /// <summary>
 /// Obtains an instance from a set of targets, columns and rules.
 /// <para>
 /// The targets will typically be trades.
 /// The columns represent the measures to calculate.
 /// </para>
 /// <para>
 /// Any target that implements <seealso cref="ResolvableCalculationTarget"/> will result in a failed task.
 ///
 /// </para>
 /// </summary>
 /// <param name="rules">  the rules defining how the calculation is performed </param>
 /// <param name="targets">  the targets for which values of the measures will be calculated </param>
 /// <param name="columns">  the columns that will be calculated </param>
 /// <returns> the calculation tasks </returns>
 public static CalculationTasks of <T1>(CalculationRules rules, IList <T1> targets, IList <Column> columns) where T1 : com.opengamma.strata.basics.CalculationTarget
 {
     return(of(rules, targets, columns, ReferenceData.empty()));
 }