Can we move this method to another Test class as it isn't an integration test?