public async Task Estab_SearchForEstablishment_Null_Id()
        {
            var response = await ObjectUnderTest.SearchForEstablishment(null, null);

            Assert.IsTrue(response is HttpNotFoundResult);
        }
        public async Task Estab_SearchForEstablishment_Id_NotFound()
        {
            GetMock <IEstablishmentReadService>().Setup(e => e.GetAsync(It.IsAny <int>(), It.IsAny <IPrincipal>())).ReturnsAsync(() => new ServiceResultDto <EstablishmentModel>(eServiceResultStatus.NotFound));

            Assert.That(async() => await ObjectUnderTest.SearchForEstablishment(4, null), Throws.TypeOf <EntityNotFoundException>(), "Expected exception of type EntityNotFoundException");
        }