public void CanSetMultipleFormulas() { var mapping = new HbmMapKey(); IMapKeyMapper mapper = new MapKeyMapper(mapping); mapper.Formulas("formula1", "formula2", "formula3"); Assert.That(mapping.formula, Is.Null); Assert.That(mapping.Items, Has.Length.EqualTo(3)); Assert.That( mapping.Items.Cast <HbmFormula>().Select(f => f.Text.Single()), Is.EquivalentTo(new[] { "formula1", "formula2", "formula3" })); }