public void GetId_Value() { String actual = datalist.GetId(new TestModel { Id = "Test" }); String expected = "Test"; Assert.Equal(expected, actual); }