All Book class properties visible in the diagram should be defined and set up in the constructor method.
Implement method:
can_be_archived?()
should override the method from the parent class
should return true if parent's method returns true OR if cover_state equals to "bad"
otherwise, it should return false.
Add unit tests for all implemented methods.
All Book class properties visible in the diagram should be defined and set up in the constructor method. Implement method: can_be_archived?() should override the method from the parent class should return true if parent's method returns true OR if cover_state equals to "bad" otherwise, it should return false. Add unit tests for all implemented methods.