public void QueryAll_WithNone_ReturnsNone()
        {
            NotificationQueryHandler handler;

            NotificationQuery.Response response;

            Scenario()
            .Given(handler = NewHandler().WithNoNotifications())
            .When(response = handler.Handle(new NotificationQuery()))
            .Then(ExpectThat(response), Is(ANotificationQueryResponse.With().NoResults()));
        }
        public void QueryAll_WithOne_ReturnsOne()
        {
            Notification             notification;
            NotificationQueryHandler handler;

            NotificationQuery.Response response;

            Scenario()
            .Given(notification = new Notification())
            .Given(handler      = NewHandler().WithNotifications(notification))
            .When(response      = handler.Handle(new NotificationQuery()))
            .Then(ExpectThat(response), Is(ANotificationQueryResponse.With().Result(ANotification.Instance(notification))));
        }