public void TestGetAgentList() { bool result = false; List <NameValueType> list = repository.BindDropDownList("AgentList"); if (list.Count > 0) { result = true; } Assert.AreEqual(true, result); }
public List <NameValueType> GetAgentList() { List <NameValueType> list = repository.BindDropDownList("AgentList"); return(list); }