package com.intuit.tank.http.binary;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
/**
* The class <code>BinaryRequestTest</code> contains tests for the class <code>{@link BinaryRequest}</code>.
*
* @generatedBy CodePro at 12/16/14 3:57 PM
*/
public class BinaryRequestTest {
/**
* Run the BinaryRequest(HttpClient) constructor test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/16/14 3:57 PM
*/
@Test
public void testBinaryRequest_1()
throws Exception {
BinaryRequest result = new BinaryRequest(null, null);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.ExceptionInInitializerError
assertNotNull(result);
}
/**
* Run the String getKey(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/16/14 3:57 PM
*/
@Test
public void testGetKey_1()
throws Exception {
BinaryRequest fixture = new BinaryRequest(null, null);
String key = "";
String result = fixture.getKey(key);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient
assertNotNull(result);
}
/**
* Run the void setConvertData() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/16/14 3:57 PM
*/
@Test
public void testSetConvertData_1()
throws Exception {
BinaryRequest fixture = new BinaryRequest(null, null);
fixture.setConvertData();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient
}
/**
* Run the void setConvertData() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/16/14 3:57 PM
*/
@Test
public void testSetConvertData_2()
throws Exception {
BinaryRequest fixture = new BinaryRequest(null, null);
fixture.setConvertData();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient
}
/**
* Run the void setConvertData() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/16/14 3:57 PM
*/
@Test
public void testSetConvertData_3()
throws Exception {
BinaryRequest fixture = new BinaryRequest(null, null);
fixture.setConvertData();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient
}
/**
* Run the void setConvertData() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/16/14 3:57 PM
*/
@Test
public void testSetConvertData_4()
throws Exception {
BinaryRequest fixture = new BinaryRequest(null, null);
fixture.setConvertData();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient
}
/**
* Run the void setKey(String,String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/16/14 3:57 PM
*/
@Test
public void testSetKey_1()
throws Exception {
BinaryRequest fixture = new BinaryRequest(null, null);
String key = "";
String value = "";
fixture.setKey(key, value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient
}
/**
* Run the void setNamespace(String,String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/16/14 3:57 PM
*/
@Test
public void testSetNamespace_1()
throws Exception {
BinaryRequest fixture = new BinaryRequest(null, null);
String name = "";
String value = "";
fixture.setNamespace(name, value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient
}
}