SimpleCandidateProbability implements CandidateProbability<S> { @Override public S getCandidate() { return candidate; } SimpleCandidateProbability(S candidate, double emissionLogProbability); @Override S getCandidate(); @Override double getEmissionLogProbability();  }
@Test void testGetCandidate() { assertEquals(simpleCandidateProbability.getCandidate(), "state"); }