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
378 B
Java
15 lines
378 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 FindReference7 {
|
|
|
|
private void findReferences() {
|
|
Contact contact = new Contact();
|
|
|
|
assertThat(contact).extracting(Extractors.resultOf("getStreetName<caret>")).isEqualTo("foo");
|
|
}
|
|
} |