@Test
public void testSingleLineEnhanced() {
Response response = new Response(CODE500, "5.0.0 Example error");
MailSystemStatus mailSystemStatus =
statusFactory
.createResponseLookingForEnhancedStatusCode(response);
assertEquals(EnhancedStatus.class, mailSystemStatus.getClass());
assertEquals(CODE500, mailSystemStatus.getSmtpReplyCode());
assertEquals("Example error", mailSystemStatus.getMessage());
assertEquals("5.0.0", ((EnhancedStatus) mailSystemStatus)
.getEnhancedStatusCode());
}