Merge pull request #14220 from thibaultfaure/article/BAEL-6482

BAEL-6482 Code for the Matching Null With Mockito article
This commit is contained in:
davidmartinezbarua
2023-06-15 17:05:53 -03:00
committed by GitHub
3 changed files with 60 additions and 0 deletions
@@ -0,0 +1,9 @@
package com.baeldung.nullmatcher;
class Helper {
String concat(String a, String b) {
return a + b;
}
}
@@ -0,0 +1,11 @@
package com.baeldung.nullmatcher;
class Main {
Helper helper = new Helper();
String methodUnderTest() {
return helper.concat("Baeldung", null);
}
}