MgsaParam { public boolean isMCMC() { return type == Type.MCMC; } MgsaParam(Type type);   MgsaParam(MgsaParam p); Type getType(); boolean isFixed(); boolean isMCMC(); void setType(Type type);  }
@Test void testMCMC() { MgsaParam param = new DoubleParam(MCMC, 0.3); assertTrue(param.isMCMC()); }