- public void getServiceAddrInfoFromCBS_consul_not_exist() throws Exception {\r
- PowerMock.mockStaticPartial(MicroServiceConfig.class, "execQuery", String.class);\r
- PowerMock.expectPrivate(MicroServiceConfig.class, "execQuery", EasyMock.anyObject())\r
- .andThrow(new RuntimeException("Invalid URL.")).times(2);\r