public GeneratePolicyNumber(ISequenceNumberGeneator sequenceNumberGeneator) { _sequenceNumberGeneator = sequenceNumberGeneator; }
public JournalGenerator(IJournalPoster journalPoster, ISequenceNumberGeneator sequenceNumberGeneator, IContextParameterResolver contextParameterResolver) { _journalPoster = journalPoster; _sequenceNumberGeneator = sequenceNumberGeneator; _contextParameterResolver = contextParameterResolver; }