public Developer(string name, int idNumber, bool canAccessPuralsight, DeveloperType devType) { Name = name; IDNumber = idNumber; CanAccessPurasight = canAccessPuralsight; TypeOfDeveloper = devType; }
private static Developer GetDeveloper(DeveloperType developerType) { switch (developerType) { case DeveloperType.Panel: return(new PanelDeveloper()); case DeveloperType.Wood: return(new WoodDeveloper()); default: throw new InvalidEnumArgumentException("developerType"); } }
public static Developer Create(DeveloperType type, string name) { switch (type) { case DeveloperType.Panel: return(new PanelDeveloper(name)); case DeveloperType.Wood: return(new WoodDeveloper(name)); case DeveloperType.Break: return(new BreakDeveloper(name)); default: throw new Exception("Type is not exists"); } }
public Developer(DeveloperType devType) { _devType = devType; }
public void GetRequiredSkills_ForDeveloperType_ShouldReturnExpected(DeveloperType developerType, DeveloperSkillType[] expectedDeveloperSkills) { //var result = developerType.GetRequiredSkills(); //result.ShouldBeEquivalentTo(expectedDeveloperSkills); }