public void RequestResponseSettings_SetsCheckpointsProperly()
        {
            // arrange
            var cs = new RequestResponseSettings();

            // act
            cs.CheckpointEvery(10);
            cs.CheckpointAfter(TimeSpan.FromHours(60));

            // assert
            cs.Properties[CheckpointSettings.CheckpointCount].ShouldBeEquivalentTo(10);
            cs.Properties[CheckpointSettings.CheckpointDuration].ShouldBeEquivalentTo(TimeSpan.FromHours(60));
        }
        public void GivenRequestResponseSettingsWhenConfiguredThenCheckpointsSetProperly()
        {
            // arrange
            var cs = new RequestResponseSettings();

            // act
            cs.CheckpointEvery(10);
            cs.CheckpointAfter(TimeSpan.FromHours(60));

            // assert
            cs.Properties[CheckpointSettings.CheckpointCount].Should().BeEquivalentTo(10);
            cs.Properties[CheckpointSettings.CheckpointDuration].Should().BeEquivalentTo(TimeSpan.FromHours(60));
        }