According to the Angular2 testing documentation, for testing components we should create an object like this:
component = fixture.createInstance;
but for isolates unit testing, like for service, it is said to create an instance like this:
component = new componentClass(); //traditional way of creating objects by calling class constructor
I'm not very much clear about what exactly is the difference between these two approaches for creating instances. Also, I've noticed accessibility difference using both of these. Does anybody has a clear idea about the difference between these two?