public InjectableConfiguration(
     ICredentialGenerator credentialGenerator,
     IDateGenerator dateGenerator,
     IPhoneGenerator phoneGenerator,
     IColourGenerator colourGenerator,
     IWordGenerator wordGenerator,
     INameGenerator nameGenerator)
 {
     CredentialConfig = credentialGenerator;
     DateConfig       = dateGenerator;
     PhoneConfig      = phoneGenerator;
     ColourConfig     = colourGenerator;
     WordConfig       = wordGenerator;
     NameGenerator    = nameGenerator;
 }
Example #2
0
 public PhoneTests()
 {
     _systemUnderTest = new PhoneGenerator();
 }