Closed
Description
I did extract variable on
@Test
public void convertFromStringToInetAddressWhenHostDoesNotExistShouldThrowException() {
this.thrown.expect(ConversionFailedException.class);
this.conversionService.convert("ireallydontexist.example.com", InetAddress.class);
}
and got
@Test
public void convertFromStringToInetAddressWhenHostDoesNotExistShouldThrowException() {
this.thrown.expect(ConversionFailedException.class);
String missingDomain = "ireallydontexist.example.com";
this.conversionService.convert(missingDomain, InetAddress.class);
}
Metadata
Metadata
Assignees
Labels
No labels