@Test
public void testUpgradeWithBlankHmsToken()
{

    upgradeSpec.setId( " " );
    Response response = upgrade( upgradeSpec );
    assertNotNull( response );
    assertTrue( response.getStatus() == Status.BAD_REQUEST.getStatusCode() );
    UpgradeStatus status = (UpgradeStatus) response.getEntity();
    assertNotNull( status );
    message = "'id' is a mandatory parameter for HMS Upgrade.";
    assertEquals( message, status.getMoreInfo() );
}