public static void GetTypeSelectionCriteria_GuardClause() { var mapping = new ElasticMapping(); Assert.Throws<ArgumentNullException>(() => mapping.GetTypeSelectionCriteria(null)); }
public static void GetTypeSelectionCriteria() { var mapping = new ElasticMapping(); var criteria = mapping.GetTypeSelectionCriteria(typeof(FormatClass)); Assert.Null(criteria); }