Search for : assertThat\((.+) instanceof (\w+)\)\.isTrue\(\) Replace with : assertThat($1).isInstanceOf($2.class) Search for : assertThat\((.+) instanceof (\w+)\)\.isFalse\(\) Replace with : assertThat($1).isNotInstanceOf($2.class) Closes gh-31760
Search for : assertThat\((.+) instanceof (\w+)\)\.isTrue\(\) Replace with : assertThat($1).isInstanceOf($2.class) Search for : assertThat\((.+) instanceof (\w+)\)\.isFalse\(\) Replace with : assertThat($1).isNotInstanceOf($2.class) Closes gh-31760