@Test
public void testSetRoleActiveToStandby() throws Exception {

    // Set by default
    assertTrue(roleManager.getRole() == HARole.ACTIVE);
    this.setRoleAndMockController(HARole.STANDBY);
    assertTrue(roleManager.getRole() == HARole.STANDBY);
}