assertEquals(command, response.getCommand());
}
@Test
public void testTaggedBad() {
StatusResponse response = factory.taggedBad(TAG, command, KEY);
assertNotNull(response);
assertEquals(StatusResponse.Type.BAD, response.getServerResponseType());
assertEquals(TAG, response.getTag());
assertEquals(KEY, response.getTextKey());
assertNull(response.getResponseCode());
assertEquals(command, response.getCommand());
response = factory.taggedBad(TAG, command, KEY, CODE);
assertNotNull(response);
assertEquals(StatusResponse.Type.BAD, response.getServerResponseType());
assertEquals(TAG, response.getTag());
assertEquals(KEY, response.getTextKey());
assertEquals(CODE, response.getResponseCode());
assertEquals(command, response.getCommand());
}