test(SpacesService): add unit tests for SpacesService (#3201)
test(SpacesService): add unit tests for SpacesService (#3201)

* test(SpacesService): add unit tests for SpacesService

* test(SpacesService): make better use of TestBed.get() for handling mocks

fabric8-ui/fabric8-ui,fabric8io/fabric8-ui,fabric8-ui/fabric8-ui,fabric8io/fabric8-ui,fabric8io/fabric8-ui,fabric8-ui/fabric8-ui,fabric8-ui/fabric8-ui,fabric8io/fabric8-ui,fabric8io/fabric8-ui,fabric8-ui/fabric8-ui