|
@@ -185,14 +185,16 @@ To remedy this issue, we redesign and refactor.
|
185
|
185
|
* The enum should have an _empty nullary constructor_.
|
186
|
186
|
|
187
|
187
|
# Part 9.0 - Test `Educator`
|
188
|
|
-* Ensure
|
|
188
|
+* Use `Part 5` as a reference.
|
189
|
189
|
|
190
|
190
|
# Part 10.1 - Modify `Instructor` Class
|
191
|
191
|
* Annotate the constructor with `@Deprecated`.
|
192
|
|
- * This constructor should be commented with `//TODO - Remove dependencies`
|
|
192
|
+* This constructor should be commented with `//TODO - Remove dependencies`
|
193
|
193
|
* Create a constructor in the `Instructor` class which uses `Educator educator` parameter to set a final `educator` field.
|
194
|
194
|
* The class should differ calls to the `teach` and `lecture` method to the composite `educator` field.
|
195
|
195
|
* Remove any calls being made to the deprecated construcor.
|
|
196
|
+* Remove the deprecated constructor from the class.
|
196
|
197
|
|
197
|
|
-# Part 10.0 - Modify `InstructorTest`
|
198
|
|
-* Ensure
|
|
198
|
+# Part 10.0 - Test `Instructor`
|
|
199
|
+* Refactor `TestInstructor` to support the newly created `Instructor` constructor.
|
|
200
|
+* Ensure the tests were not affected by the refactoring.
|