@Test
@SuppressWarnings("rawtypes")
public void testBuildIllegalStatus()
{
MockSuccessfulResponseFutureBuilder builder = new MockSuccessfulResponseFutureBuilder();
try
{
builder.setStatus(404);
Assert.fail("Settting a non 2xx status should have failed!");
}
catch (IllegalArgumentException e)
{
// expected