Exemplo n.º 1
0
        public void InsertCxenseUserSegment_CheckToSeeIfDataISBeingPersistedToDatabase_AddIntoDataBase()
        {
            //arrange
            string hash = "00001c00eaf00ef00e0c0a0c000a0f00e00d00e0";
            Guid   id   = new Guid("000EECB1-F00C-00A0-0B0E-0C0A0C0E00E0");


            var userSegment = new CxenseUserSegment
            {
                EmailHash = hash,
                SegmentId = id
            };

            //act
            int result = AdminApi.InsertCxenseUserSegment(userSegment);

            //assert
            Assert.IsNotNull(result);
        }