TestObserver

class TestObserver : public observer_pattern::ConcreteObserver

A TestObserver that overrides update to write to the outputStream.

Public Functions

inline virtual void update() override

Updates the observer when notified by the subject.