Testing Services
When testing services in Angular 2 we employ many of the same techniques and strategies used for testing components. Services, like components, are classes with methods and properties that we want to verify. Data is the main emphasis in testing services - are we getting, storing and propagating data correctly.