public void WhenRequestingAuthorisation_CorrectlyReturnsTypeOfAuthorisation()
        {
            var request = TestRequests.Authorisation;
            var requestXml = new XmlDocument();
            requestXml.LoadXml(request);

            var requestTypeResolver = new RequestTypeResolver();
            var requestType = requestTypeResolver.GetRequestType(requestXml);

            Assert.AreEqual(RequestType.Authorisation, requestType);
        }
        public void WhenRequestingSL1s_CorrectlyReturnsTypeOfSL1()
        {
            var request = TestRequests.SL1Request;
            var requestXml = new XmlDocument();
            requestXml.LoadXml(request);

            var requestTypeResolver = new RequestTypeResolver();
            var requestType = requestTypeResolver.GetRequestType(requestXml);

            Assert.AreEqual(RequestType.SL1, requestType);
        }
        private IHmrcDataManipulator GetManipulator()
        {
            var repository = new EmployeeIdentityRepository();
            var requestTypeResolver = new RequestTypeResolver();

            return new HmrcDataManipulator(repository, requestTypeResolver);
        }