예제 #1
0
        public void TestGenderTrue()
        {
            var test = new RecordsController();

            test.Delete(); //Make sure there is nothing in the datasource.
            test.RawStringFormatter("Testing,Orlando,Male,Grey,05/01/1982");
            test.RawStringFormatter("Testing,Monica,Female,Turquoise,05/12/1989");
            test.RawStringFormatter("Testing,Orlando,Male,Grey,05/01/1982");
            ActionResult <String> actionResult = test.GetByGender();

            Assert.IsNotNull(actionResult);
        }