Beispiel #1
0
        public void SearchSuccess()
        {
            mockService.Setup(_ => _.Search(It.IsAny <string>())).Returns(BaseMockResponse.ListSuccessResponse());
            var result = mockService.Object.Search("Sample");

            Assert.NotNull(result);
        }
Beispiel #2
0
        public void ListEntitiesSuccess()
        {
            mockService.Setup(_ => _.List()).Returns(BaseMockResponse.ListSuccessResponse());
            var result = mockService.Object.List();

            Assert.NotNull(result);
        }
Beispiel #3
0
        public void ListSuccess()
        {
            mockService.Setup(_ => _.ListRecorded(It.IsAny <string>())).Returns(BaseMockResponse.ListSuccessResponse());
            var result = mockService.Object.ListRecorded(Guid.NewGuid().ToString());

            Assert.NotNull(result);
        }