public void PopulateFieldsTest() { RequiredBrewParameters requiredBrewParameters = new RequiredBrewParameters(); IDictionary <string, IDictionary <string, string> > availableFields = new Dictionary <string, IDictionary <string, string> >(); //Weigh bin Mash Copper Section IDictionary <string, string> param = new Dictionary <string, string>(); param = new Dictionary <string, string> { { "Start Transport RAW Sorguum to WB MC - Finish", "20" }, { "Transport Time RAW Sorguum to WB MC - Finish", "30" } }; availableFields.Add("Weigh bin Mash Copper", param); requiredBrewParameters.PopulateFields(availableFields); Assert.True(requiredBrewParameters.FieldIsAvailable("Weigh bin Mash Copper", "Transport Time RAW Sorguum to WB MC - Finish")); }
public void FieldIsAvailableTest() { RequiredBrewParameters requiredBrewParameters = new RequiredBrewParameters(); Assert.False(requiredBrewParameters.FieldIsAvailable("MASH COPPER", "Mash in Time - Finish")); }