@Test
public void testGetCodec() {
//if isGwt
Codec expected = null;
assertFalse(MyRobusta.isGwt());
assertEquals("bad codec when nothing set", expected, MyRobusta.getCodec());
MyRobusta.setGwt(true, true);
assertTrue("bad instance", MyRobusta.getCodec() instanceof CodecGwt);