public void GetLookupValuesRequest_GivenAnUnknownLookupName_ThrowsException()
        {
            var handler = new GetLookupValuesRequestHandler(new LookupTypeService(new AssemblyLocator()))
            {
                SessionProvider = SessionProvider
            };
            Request request = new GetLookupValuesRequest {
                Name = "foo"
            };

            handler.Handle(request);
        }
        public void GetLookupValuesRequest_GivenAgencyTypeLookupName_ReturnsAllAgencyTypes()
        {
            var handler = new GetLookupValuesRequestHandler(new LookupTypeService(new AssemblyLocator()))
            {
                SessionProvider = SessionProvider
            };
            Request request = new GetLookupValuesRequest {
                Name = "AgencyType"
            };
            var response       = handler.Handle(request);
            var lookupResponse = response as GetLookupValuesResponse;

            Assert.AreEqual(6, lookupResponse.LookupValues.Count);
        }