public void CreateUpdateQueryTest() { string query = @"UPDATE [User] SET [Name] = @Name ,[Surname] = @Surname ,[Username] = @Username ,[Password] = @Password ,[Email] = @Email ,[CreatedDate] = @CreatedDate ,[Active] = @Active WHERE [Id] = @Id"; string createdQuery = _queryCreator.CreateUpdateQuery <User>(); Assert.Equal(query, createdQuery); }