You must have heard a lot about the importance of writing unit tests. Either you are supposed to do it…
An observable allows you to subscribe only whereas a subject allows you to both publish and subscribe.