Beispiel #1
0
        public void ListResult()
        {
            var interactor = new LoadAnimalsInZooInteractor(_listGateway.Object);
            var result     = interactor.Execute(1);

            Assert.Equal(_list, result);
        }
Beispiel #2
0
        public void EmptyResult()
        {
            var interactor = new LoadAnimalsInZooInteractor(_emptyGateway.Object);
            var result     = interactor.Execute(0);

            Assert.Empty(result);
        }