Fixed an exception in batch mode if the description string was the same but for different fixes. Now descriptions are different for quick fixes triggered by AssertThatJava8OptionalInspection and AssertThatGuavaOptionalInspection. Minor refactorings. Extended documentation.
15 lines
390 B
Java
15 lines
390 B
Java
import org.assertj.core.extractor.Extractors;
|
|
|
|
import java.util.Collections;
|
|
import java.util.List;
|
|
|
|
import static org.assertj.core.api.Assertions.assertThat;
|
|
|
|
public class FindReference10 {
|
|
|
|
private void findReferences() {
|
|
List<Contact> contactList = Collections.emptyList();
|
|
|
|
assertThat(contactList).extractingResultOf("getStreetName<caret>").isEqualTo("foo");
|
|
}
|
|
} |