public void WhenGetEstablishmentByDFESNumberIsCalledEstablishmentDTOMapsRootFieldsToEntityObject()
        {
            var establishmentService = new EstablishmentService(_repository.Object, _configuration.Object);

            var result = establishmentService.GetByDFESNumber(CheckingWindow.KS4June, $"99{_testUrn}");

            _repository.Verify(x => x.Get <EstablishmentDTO>(_ks4JuneEstablishments), Times.Once);

            Assert.NotNull(result);
            Assert.True(result.DfesNumber == int.Parse($"99{_testUrn}"));
            Assert.True(result.SchoolName == _testEstab.SchoolName);
            Assert.True(result.SchoolType == _testEstab.SchoolType);
            Assert.True(result.Urn.Value == _testUrn);
        }