Shell of the Customer class created with the suggested attributes as well as the JUnit CustomerTest class.
Added more JUnit test scenarious without implementing them.
Tidied up JUnit tests order and added futher TODO notes.
Added abstract RideStatus class to handle the fact that a Customer can be waiting for a lift or be in it.
Tested the creation of two method declaration in the RideStatus abstract calls by creating a MockRideStatus class.
Added AwaitingElevatorStatus class and relevant test class, modified RideStatus' methods to abstract ones and then modified the MockRideStatus class to reflect the abstract methods of the superclass.
Added more test to AwaitingElevatorStatus but it needs now refactoring as I am trying to use Mockito to create mock classes and variable which have not been developed yet.
Added test source folder. Mokito did not work in Eclipse even if I spent
one day trying to rectify the fact that its import did not resove even
if the Mokito library had been imported correctly.
Additional test classs added to the test source folder.
Gave uo TDD as I reached a standstill point.
Changed names of class RideStatus to RideState, changed name of class AwaitingElevatorStatus to AwaitingElevatorState, changed name of class OnboardElevatorStatus to OnboardElevatorState. Added two more methods in RideState class and added them also in its relevant subclasses.
Updated Customer class.
Developed further the context Object (i.e. Customer class) and the state concrate class AwaitingElevator.
Further developed the abstract RideState class and its concrete subclasses.
Added my first Lambda code! ...and added check so ths
Trying to make the State Class and subclasses work
Removed unnecessary mothods from RideState class and added move and pressElevatorButton methods in Customer class.
Refactored Customer, RideState, AwaitingElevatorState, OnboardElevatorState classes and created Building class. Now I will start Unit testing each class.
Unit testing started for Customer class.
Refactored Customer class by adding all Instance variables gettes and setters, moving the Random number generator to the Building class. Unit tested Customer Class and Awaiting Elevator state class. Created a new state class ArrivedState which define the finish flag once the customer has arrived at their final destination.