public void Map_GivenNoReturnQuarter_OpenQuarters_LatestOpenIsQ4_ErrorMessageSaysWhenNextQuarterAvailableIsQ1()
        {
            var openQuarters = new List <Quarter>()
            {
                new Quarter(2018, QuarterType.Q1),
                new Quarter(2018, QuarterType.Q2),
                new Quarter(2018, QuarterType.Q3),
                new Quarter(2018, QuarterType.Q4)
            };

            var nextQuarter = QuarterWindowTestHelper.GetQuarterOneWindow(2019);

            var returnData = new List <ReturnData>()
            {
                new ReturnData()
                {
                    Quarter = openQuarters[1]
                }
            };

            SystemTime.Freeze(new DateTime(2019, 01, 01));

            var returnsData = new ReturnsData(returnData, null, openQuarters, nextQuarter, new DateTime(2019, 01, 01));

            var result = returnsMap.Map(new ReturnToReturnsViewModelTransfer()
            {
                ReturnsData = returnsData
            });

            SystemTime.Unfreeze();

            Assert.Equal(
                $"Returns have been started or submitted for all open quarters. You can start submitting your 2019 Q1 returns on 1st April.", result.ErrorMessageForNotAllowingCreateReturn);
        }