public void Setup()
        {
            m_Disposer = Substitute.For <IDisposer>();
            m_Factory = Substitute.For <IDisplayHistoryRowFactory>();

            m_Converter = new TrailDetailsToDisplayDisplayHistoryRowsConverter(m_Disposer,
                                                                               m_Factory);
        }
        public void DisposeCallsDisposeTest()
        {
            var disposer = Substitute.For <IDisposer>();

            var converter = new TrailDetailsToDisplayDisplayHistoryRowsConverter(disposer,
                                                                                 m_Factory);

            converter.Dispose();

            disposer.Received().Dispose();
        }