@SuppressWarnings( { "unchecked", "rawtypes" } )

@Test( expected = HmsException.class )
public void getAboutResponse_OobAvailable()
    throws Exception
{
    ResponseEntity responseEntityMock = mock( ResponseEntity.class );
    HmsOobAgentRestTemplate restTemplateMock = mock( HmsOobAgentRestTemplate.class );
    whenNew( HmsOobAgentRestTemplate.class ).withNoArguments().thenReturn( restTemplateMock );
    when( restTemplateMock.exchange( any( HttpMethod.class ), anyString(),
                                     any( Class.class ) ) ).thenReturn( responseEntityMock );
    when( responseEntityMock.getStatusCode() ).thenReturn( HttpStatus.OK );
    HMSLocalRestService hmsLocalRestService = new HMSLocalRestService();
    Map<String, AboutResponse> response = hmsLocalRestService.getAboutResponse();
    assertNotNull( response );
}