private static SheetDocumentXmlReader DefaultGateway()
        {
            var sharedStringGateway = new SharedStringGatewayFake();
            var gateway             = new SheetDocumentXmlReader(sharedStringGateway);

            return(gateway);
        }
        public void CellFrom_SharedString_HasValue()
        {
            var sharedStringGateway = new SharedStringGatewayFake();

            sharedStringGateway.CountReturns           = 123;
            sharedStringGateway.StringAtIndexOfReturns = "real test string";

            var gateway = new SheetDocumentXmlReader(sharedStringGateway);

            XmlElement cellNode = SharedStringCellElement(address: "A1", value: "123");

            Cell cell = gateway.CellFrom(cellNode);

            Assert.That(cell.Value, Is.EqualTo("real test string"));
            Assert.That(sharedStringGateway.StringAtIndexOfValueParameter, Is.EqualTo("123"));
        }