BinaryRequest extends BaseRequest { public void setConvertData() { byte[] bytes = body.getBytes(); StringBuilder binary = new StringBuilder(); for (byte b : bytes) { int val = b; for (int i = 0; i < 8; i++) { binary.append((val & 128) == 0 ? 0 : 1); val <<= 1; } binary.append(' '); } } BinaryRequest(TankHttpClient client, TankHttpLogger logUtil); @Override String getKey(String key); @Override void setKey(String key, String value); @Override void setNamespace(String name, String value); void setConvertData();  }
@Test public void testSetConvertData_1() throws Exception { BinaryRequest fixture = new BinaryRequest(null, null); fixture.setConvertData(); }
@Test public void testSetConvertData_2() throws Exception { BinaryRequest fixture = new BinaryRequest(null, null); fixture.setConvertData(); }
@Test public void testSetConvertData_3() throws Exception { BinaryRequest fixture = new BinaryRequest(null, null); fixture.setConvertData(); }
@Test public void testSetConvertData_4() throws Exception { BinaryRequest fixture = new BinaryRequest(null, null); fixture.setConvertData(); }