Esempio n. 1
0
        public void ShouldReturnQueryForAddingEmployee()
        {
            string      expected = "INSERT INTO public.ett_employee (first_name, last_name, employee_number) VALUES('Daniel', 'Moon', 'b003223');";
            EmployeeRow obj      = new EmployeeRow {
                EmployeeNumber = "b003223", LastName = "Moon", FirstName = "Daniel"
            };
            string actual = QueryGenerator.AddEmployee(obj);

            Assert.Equal(expected, actual);
        }