Exemplo n.º 1
0
        public async Task HasTextByIdAsync_ReturnsTrueIfItIsTextByIdInMailingById()
        {
            //arrange

            //act
            var has = await _service.HasTextByIdAsync(1, 3);

            var hasnot = await _service.HasTextByIdAsync(1, 1);

            // assert
            Assert.IsFalse(hasnot);
            Assert.IsTrue(has);
        }