Fixes compilation error in ElectionContextTest. Static import Mockito.mock()