public void TestDropDownListIsSelectedInspector() { var dropDownListIsSelectedInspector = new DropDownListIsSelectedInspector(2); var target = new PrivateObject(dropDownListIsSelectedInspector); Assert.AreEqual(( int )target.GetFieldOrProperty(MEMBER_VARIABLE_NAME_SELECTED_INDEX), 2); }
public void Initialize() { _dropDownListIsSelectedInspector = new DropDownListIsSelectedInspector(TestDefinition.DUMP_INTEGER); _target = new PrivateObject(_dropDownListIsSelectedInspector); }