示例#1
0
        public async Task HasWorkByIdAsync_ReturnsTrueIfItIsWorkByIdInMailingById()
        {
            //arrange

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

            var hasnot = await _service.HasWorkByIdAsync(1, 4);

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