Make the ServiceManager protected at line 52 or completely avoid it using a mock